diff --git a/Supervisor-control-file.md b/Supervisor-control-file.md new file mode 100644 index 0000000..c2e5733 --- /dev/null +++ b/Supervisor-control-file.md @@ -0,0 +1,8 @@ +Path: `/etc/supervisor/conf.d/haste-server.conf` + + [program:haste-server] + directory=/opt/haste-server/ + command=/usr/bin/node /opt/haste-server/server.js + autostart=false + autorestart=true + stopasgroup=true \ No newline at end of file