Merge pull request #2653 from kimbaudi/patch-1

Update service file to set WorkingDirectory
pull/2656/head
Shayne Boyer 2017-02-02 12:02:29 -05:00 committed by GitHub
commit cb1cc9906d
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ An example service file for our application.
Description=Example .NET Web API Application running on Ubuntu
[Service]
WorkingDirectory=/var/aspnetcore/hellomvc
ExecStart=/usr/bin/dotnet /var/aspnetcore/hellomvc/hellomvc.dll
Restart=always
RestartSec=10 # Restart service after 10 seconds if dotnet service crashes