diff --git a/Infrastructure/website.service b/Infrastructure/website.service index a7cf10e..67fde50 100644 --- a/Infrastructure/website.service +++ b/Infrastructure/website.service @@ -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