mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 22:43:48 +00:00
This change includes: 1. Move shared library `shadowsocks-libev.so.*` to an package `libshadowsocks-libev` and rename package `shadowsocks-libev-devel` to `libshadowsocks-libev-devel` to reconcile with the deb packages. 2. Add a new package `shadowsocks-libev-zsh-completion`. 3. Run `setcap` after installation (similar to #1119). 4. Remove ss-nat because it is designed for OpenWrt/LEDE. 5. Auto restart instantiated services after update and stop/disable instantiated services after uninstallation.
26 lines
607 B
Plaintext
26 lines
607 B
Plaintext
# Defaults for shadowsocks initscript
|
|
# sourced by /etc/init.d/shadowsocks-libev
|
|
# installed at /etc/sysconfig/shadowsocks-libev by the maintainer scripts
|
|
|
|
#
|
|
# This is a POSIX shell fragment
|
|
#
|
|
# Note: `START', `GROUP' and `MAXFD' options are not recognized by systemd.
|
|
# Please change those settings in the corresponding systemd unit file.
|
|
|
|
# Enable during startup?
|
|
START=yes
|
|
|
|
# Configuration file
|
|
CONFFILE="/etc/shadowsocks-libev/config.json"
|
|
|
|
# Extra command line arguments
|
|
DAEMON_ARGS="-u"
|
|
|
|
# User and group to run the server as
|
|
USER=nobody
|
|
GROUP=nobody
|
|
|
|
# Number of maximum file descriptors
|
|
MAXFD=32768
|