Configuration for supervisor

Tobias Lindenberg 2018-04-09 18:11:07 +02:00
parent 3b0b66c197
commit 161d6b00f3
1 changed files with 8 additions and 0 deletions

@ -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