添加 gost/gost.service

This commit is contained in:
root 2024-11-05 12:17:06 +08:00
parent d71798f43d
commit 5a185ba4c8

15
gost/gost.service Normal file
View 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