15 lines
400 B
SYSTEMD
15 lines
400 B
SYSTEMD
|
[Unit]
|
||
|
Description=Freedom Service
|
||
|
Documentation=https://amass.fun/我的笔记/工作笔记/内网穿透
|
||
|
After = network.target syslog.target
|
||
|
Wants = network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/root/Server/freedom_v5.22.0_linux_amd64/freedom run -config /root/Server/freedom_v5.22.0_linux_amd64/config.json
|
||
|
Restart=always
|
||
|
RestartSec=2s
|
||
|
LimitNOFILE=infinity
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|