dockerfiles/anylink/systemd/anylink.service

16 lines
359 B
SYSTEMD
Raw Normal View History

2021-06-08 20:45:26 +08:00
[Unit]
2021-08-26 23:09:52 +08:00
Description=AnyLink Server Service
Documentation=https://github.com/bjdgyc/anylink
After=network-online.target
2021-06-08 20:45:26 +08:00
[Service]
Type=simple
User=root
2021-08-26 23:09:52 +08:00
WorkingDirectory=/usr/local/anylink-deploy
2021-06-08 20:45:26 +08:00
Restart=on-failure
RestartSec=5s
2021-12-29 11:43:26 +08:00
ExecStart=/usr/local/anylink-deploy/anylink --conf=/usr/local/anylink-deploy/conf/server.toml
2021-08-26 23:09:52 +08:00
2021-06-08 20:45:26 +08:00
[Install]
WantedBy=multi-user.target