- [Unit]
- Description=Shadowsocks-rust Server
- After=network.target
- [Service]
- Type=simple
- User={{ ss_user }}
- Group={{ ss_user }}
- ExecStart={{ ss_bin_path }} -c {{ ss_config_path }}
- Restart=on-failure
- RestartSec=5
- LimitNOFILE=65536
- [Install]
- WantedBy=multi-user.target
|