Files
shadowsocks-libev/debian
Rick Lei e63de4ce23 Turn off errexit option when detecting the apg command
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()
2017-03-09 12:48:37 +08:00
..
2017-02-24 12:16:20 +08:00
2017-02-16 20:38:08 +08:00
2017-01-29 10:10:44 +08:00
2017-02-16 20:38:08 +08:00
2017-02-16 20:38:08 +08:00
2017-02-16 20:38:08 +08:00
2017-02-16 20:38:08 +08:00

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