diff --git a/Environment/bantflags.service b/Environment/bantflags.service new file mode 100644 index 0000000..dfab55a --- /dev/null +++ b/Environment/bantflags.service @@ -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 \ No newline at end of file