[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