From efeff551abbee3faeaf7d0d312559d0623080b93 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Mon, 26 Aug 2019 11:14:07 +0100 Subject: [PATCH] Remove path from service command --- Infrastructure/website.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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