mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-12-26 12:06:59 +00:00
Configuration for supervisor
parent
3b0b66c197
commit
161d6b00f3
1 changed files with 8 additions and 0 deletions
8
Supervisor-control-file.md
Normal file
8
Supervisor-control-file.md
Normal file
|
@ -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
|
Loading…
Reference in a new issue