添加 gost/gost.service
This commit is contained in:
parent
d71798f43d
commit
5a185ba4c8
15
gost/gost.service
Normal file
15
gost/gost.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=gost
|
||||
After=network-online.target
|
||||
Wants=network-online.target systemd-networkd-wait-online.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
DynamicUser=true
|
||||
ExecStart=/usr/bin/gost -C /etc/gost/config.json
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user