Add example systemd service

dotnetflags
C-xC-c 5 years ago
parent 89a6711895
commit 1787fb824c

@ -0,0 +1,16 @@
[Unit]
Description=bantflags backend
[Service]
# Set to the location of the application
WorkingDirectory=/etc/bantflags
ExecStart=/usr/bin/dotnet /etc/bantflags/BantFlags.dll
Restart=always
# restarts 10 seconds after it goes bang
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=bantflags
User=www-data
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save