Skip to content

Instantly share code, notes, and snippets.

@4lun
Last active August 29, 2016 09:09
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 4lun/e9ab1e8793e699e7961874c225b0918e to your computer and use it in GitHub Desktop.
Save 4lun/e9ab1e8793e699e7961874c225b0918e to your computer and use it in GitHub Desktop.
Supervisor configuration for keeping local-npm running in the background on OSX (node is installed via nvm)
[program:local_npm]
command=/Users/USER/.nvm/versions/node/v6.3.1/bin/local-npm
directory=/Users/USER/Tools/local-npm
environment=PATH="/Users/USER/.nvm/versions/node/v6.3.1/bin:%(ENV_PATH)s"
user=USER
autostart=true
autorestart=true
stderr_logfile=syslog
stdout_logfile=syslog
process_name=%(program_name)s_%(process_num)02d
numprocs=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment