Skip to content

Commit

Permalink
Merge pull request #2653 from kimbaudi/patch-1
Browse files Browse the repository at this point in the history
Update service file to set WorkingDirectory
  • Loading branch information
spboyer authored Feb 2, 2017
2 parents 78ed0aa + cf31629 commit cb1cc99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aspnetcore/publishing/linuxproduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb1cc99

Please sign in to comment.