Remove path from service command

This commit is contained in:
Robert Marshall 2019-08-26 11:14:07 +01:00
parent 8ca5b4ee7e
commit efeff551ab

View file

@ -3,7 +3,7 @@ Description=Robware
[Service]
WorkingDirectory=/var/www/Website
ExecStart=/usr/local/bin/dotnet /var/www/Website/Website.dll
ExecStart=dotnet /var/www/Website/Website.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10