[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