Closed x0r2d2 closed 7 years ago
Daemonization should be handled by your OS, e.g. supervisor/systemd/upstart/launchd.
I am not a master of Linux, what I need to do to make it real?
Most modern Linux distro use systemd now. Google "systemd service file".
[Unit]
Description=Shadowsocks Server
After=network.target
[Service]
ExecStart=/usr/bin/ss-server -s ss://AEAD_CHACHA20_POLY1305:xxxxxxxxx@:xxxx
User=nobody
Group=nogroup
[Install]
WantedBy=multi-user.target
refer to https://github.com/shadowsocks/shadowsocks-go/issues/141
How to start go-ss2 in daemon mode?