mirror of https://github.com/bjdgyc/anylink.git
commit
dd1eae5d32
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=VPN Server Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory= /usr/local/anylink-deploy
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
ExecStart=/usr/local/anylink-deploy/anylink -conf="conf/server.toml"
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue