Skip to content

Instantly share code, notes, and snippets.

@deflume1
Created March 21, 2017 01:38
Show Gist options
  • Save deflume1/422186c1a3c2710ad026c5476ade9af1 to your computer and use it in GitHub Desktop.
Save deflume1/422186c1a3c2710ad026c5476ade9af1 to your computer and use it in GitHub Desktop.
Sample ghost supervisor file
[program:ghost]
command = npm start --production
directory = /var/www/ghost
user = ghost
autostart = true
autorestart = true
stdout_logfile = /var/log/supervisor/ghost.log
stderr_logfile = /var/log/supervisor/ghost_err.log
environment = NODE_ENV="production"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment