dsgwdashboard/util/dsgwdashboard.service

19 lines
382 B
SYSTEMD
Raw Normal View History

2024-01-07 02:27:32 +01:00
[Unit]
Description=D-STAR Gateway Dashboard
After=network.target,network-online.target
Wants=network-online.target
[Service]
User=root
Type=simple
WorkingDirectory=/usr/local/src/dsgwdashboard
ExecStart=/usr/bin/node index.js
Restart=on-failure
RestartSec=5
StartLimitIntervalSec=60
StartLimitBurst=0
StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=multi-user.target