Service File

This commit is contained in:
John Hays 2024-01-06 17:27:32 -08:00
parent 81f0207568
commit a673305450

View file

@ -0,0 +1,18 @@
[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