Skip to content

Instantly share code, notes, and snippets.

@gistlyn
Last active August 16, 2019 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gistlyn/dd82ae190cb53b6b9bca6a7ec769608e to your computer and use it in GitHub Desktop.
Save gistlyn/dd82ae190cb53b6b9bca6a7ec769608e to your computer and use it in GitHub Desktop.
Supervisor config for managed execution of .NET Core Apps
[program:app-my-app]
command=/usr/bin/dotnet /home/deploy/apps/my-app/MyApp.dll
directory=/home/deploy/apps/my-app
autostart=true
autorestart=true
stderr_logfile=/var/log/app-my-app.err.log
stdout_logfile=/var/log/app-my-app.out.log
environment=ASPNETCORE_ENVIRONMENT=Production,ASPNETCORE_URLS="http://*:5000/"
user=deploy
stopsignal=INT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment