From 161d6b00f3a8c5cd1eea1d42da15531258bea054 Mon Sep 17 00:00:00 2001 From: Tobias Lindenberg Date: Mon, 9 Apr 2018 18:11:07 +0200 Subject: [PATCH] Configuration for supervisor --- Supervisor-control-file.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Supervisor-control-file.md 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