anylink.service 359 B

123456789101112131415
  1. [Unit]
  2. Description=AnyLink Server Service
  3. Documentation=https://github.com/bjdgyc/anylink
  4. After=network-online.target
  5. [Service]
  6. Type=simple
  7. User=root
  8. WorkingDirectory=/usr/local/anylink-deploy
  9. Restart=on-failure
  10. RestartSec=5s
  11. ExecStart=/usr/local/anylink-deploy/anylink --conf=/usr/local/anylink-deploy/conf/server.toml
  12. [Install]
  13. WantedBy=multi-user.target