diff --git a/debian/shadowsocks-libev.init b/debian/shadowsocks-libev.init index df334dd8..bab7bfb8 100644 --- a/debian/shadowsocks-libev.init +++ b/debian/shadowsocks-libev.init @@ -58,7 +58,7 @@ do_start() start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$GROUP --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER:$GROUP --exec $DAEMON -- \ - -c "$CONFFILE" -a "$USER" -u -f $PIDFILE $DAEMON_ARGS \ + -c "$CONFFILE" -u -f $PIDFILE $DAEMON_ARGS \ || return 2 } diff --git a/debian/shadowsocks-libev.service b/debian/shadowsocks-libev.service index ce288151..7a1459c2 100644 --- a/debian/shadowsocks-libev.service +++ b/debian/shadowsocks-libev.service @@ -18,7 +18,7 @@ Type=simple EnvironmentFile=/etc/default/shadowsocks-libev User=nobody LimitNOFILE=32768 -ExecStart=/usr/bin/ss-server -a $USER -c $CONFFILE $DAEMON_ARGS +ExecStart=/usr/bin/ss-server -c $CONFFILE $DAEMON_ARGS [Install] WantedBy=multi-user.target diff --git a/src/manager.h b/src/manager.h index b7d2e2cc..65d04137 100644 --- a/src/manager.h +++ b/src/manager.h @@ -45,7 +45,6 @@ struct manager_ctx { char *acl; char *user; char *plugin; - char *plugin_args; char *manager_address; char **hosts; int host_num;