mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-18 03:26:48 +00:00
Commit https://github.com/shadowsocks/shadowsocks-libev/commit/f32ac38c2f7aab09ec25131209954957518de42a allows to use pwgen to generate the initial password at the first installation. However it won't work when apg isn't installed because: * the postinst script has errexit option set ("set -e") * at the first installation of ss-libev, apg or pwgen will be called to generate the initial password in config.json * when apg isn't installed, "pathfind apg" would return 1 * and the postinst script will immediately exit due to "set -e" This commit temporarily turn off the errexit option for pathfind()
shadowsocks-libev for Debian ---------------------------- The Debian package has added systemd support. A default server service which reads the default configuration in /etc/default/shadowsocks-libev is installed and enabled by default, plus some other service templates placed in /lib/systemd/system, which can be used by users later. The systemd service templates accept one parameter to determine the configuration json file that is used by this instance. For example, if the user starts a service called "shadowsocks-libev-local@foobar.service", This service instance will start the "ss-local" client and read /etc/shadowsocks-libev/foobar.json as its configuration file. -- Boyuan Yang <073plan@gmail.com> Thu, 08 Sep 2016 19:01:20 +0800