mirror of https://github.com/Requarks/wiki.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
500 B
23 lines
500 B
[unix_http_server]
|
|
file=/var/run/supervisor.sock
|
|
chmod=0700
|
|
|
|
[supervisord]
|
|
logfile=/logs/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
childlogdir=/logs
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///var/run/supervisor.sock
|
|
|
|
[program:wikijs]
|
|
command = node server
|
|
autostart=true
|
|
autorestart=true
|
|
priority=5
|
|
directory=/var/wiki
|
|
stdout_logfile=/logs/wiki-stdout.log
|
|
stderr_logfile=/logs/wiki-stderr.log
|