bf68666ae1
This is a super simple start. At minimum, configuration via environment variables (see #3543) needs to be integrated in Etherpad to make this user-friendly. Resolves #3524.
20 lines
408 B
Text
20 lines
408 B
Text
[supervisord]
|
|
nodaemon=true
|
|
|
|
[unix_http_server]
|
|
file=/var/run//supervisor.sock
|
|
chmod=0700
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///var/run//supervisor.sock
|
|
|
|
[program:etherpad]
|
|
directory=/opt/etherpad-lite
|
|
command=node node_modules/ep_etherpad-lite/node/server.js
|
|
user=root
|
|
autostart=true
|
|
autorestart=true
|
|
|