mirror of https://github.com/requarks/wiki
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.
24 lines
500 B
24 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
|