website/Infrastructure/website.service
2019-08-26 11:21:57 +01:00

16 lines
No EOL
362 B
Desktop File

[Unit]
Description=Robware
[Service]
WorkingDirectory=/var/www/Website
ExecStart=/usr/bin/dotnet /var/www/Website/Website.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=Website
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
[Install]
WantedBy=multi-user.target