Skip to content

Instantly share code, notes, and snippets.

@conscientiousness
Last active August 7, 2017 09:21
Show Gist options
  • Save conscientiousness/8acbd8881e2aa87514961c42dd69f71b to your computer and use it in GitHub Desktop.
Save conscientiousness/8acbd8881e2aa87514961c42dd69f71b to your computer and use it in GitHub Desktop.
[program:APP_NAME]
command=vapor run --env=production
directory=/home/USER_NAME/YOUR_APP/ # Put correct path here
autorestart=true
user=USER_NAME # Put username here
stdout_logfile=/var/log/supervisor/%(program_name)-stdout.log
stderr_logfile=/var/log/supervisor/%(program_name)-stderr.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment