Add linux server scripts

This commit is contained in:
世界
2022-07-30 08:39:34 +08:00
parent 1570c3b6f5
commit 336bceeb97
6 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[Unit]
Description=sing-box service
Documentation=https://sing-box.sagernet.org
After=network.target nss-lookup.target
[Service]
ExecStart=/usr/local/bin/sing-box run -c /usr/local/etc/sing-box/config.json
Restart=on-failure
RestartSec=10s
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target