From 3b0b66c197ec81326af9e158a4ae382f4c66ab96 Mon Sep 17 00:00:00 2001 From: kittykat13 <34859174+kittykat13@users.noreply.github.com> Date: Tue, 26 Dec 2017 04:42:27 -0800 Subject: [PATCH] Destroyed Supervisor control file (markdown) --- Supervisor-control-file.md | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 Supervisor-control-file.md diff --git a/Supervisor-control-file.md b/Supervisor-control-file.md deleted file mode 100644 index a700295..0000000 --- a/Supervisor-control-file.md +++ /dev/null @@ -1,14 +0,0 @@ -The following configuration file gives the ability to control `haste-server` with [Supervisor](http://supervisord.org/). It's independent of the initsystem, and it's quite easying the installation with Docker. The synthax is [similar to Systemd's](https://github.com/seejohnrun/haste-server/wiki/Systemd-Unit-for-haste-server). In `/etc/supervisor/conf.d/`, and a `haste-server.conf` file with: - -``` -[program:haste-server] -command = /usr/local/bin/node /var/www/haste-server/server.js -directory = /var/www/haste-server -user = www-data -autostart = true -autorestart = true -stdout_logfile = /var/log/supervisor/haste.log -stderr_logfile = /var/log/supervisor/haste_err.log -``` - -Then, reload Supervisor with `supervisorctl update`. \ No newline at end of file