mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-12-26 12:06:59 +00:00
Destroyed Supervisor control file (markdown)
parent
a2c1205eac
commit
3b0b66c197
1 changed files with 0 additions and 14 deletions
|
@ -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`.
|
|
Loading…
Reference in a new issue