mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
pidfile=/var/run/supervisord.pid
|
|
logfile=/dev/stderr
|
|
logfile_maxbytes=0
|
|
|
|
[include]
|
|
files=/etc/neko/supervisord/*.conf
|
|
|
|
[program:dbus]
|
|
environment=HOME="/root",USER="root"
|
|
command=/usr/bin/dbus
|
|
autorestart=true
|
|
priority=100
|
|
user=root
|
|
stdout_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
|
|
[program:x-server]
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
|
|
command=/usr/bin/X %(ENV_DISPLAY)s -config /etc/neko/xorg.conf -noreset -nolisten tcp
|
|
autorestart=true
|
|
priority=300
|
|
user=%(ENV_USER)s
|
|
stdout_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
|
|
[program:pulseaudio]
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
|
command=/usr/bin/pulseaudio --log-level=error --disallow-module-loading --disallow-exit --exit-idle-time=-1
|
|
autorestart=true
|
|
priority=300
|
|
user=%(ENV_USER)s
|
|
stdout_logfile=/dev/stderr
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
|
|
[program:neko]
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
|
command=/usr/bin/neko serve
|
|
stopsignal=INT
|
|
stopwaitsecs=3
|
|
autorestart=true
|
|
priority=800
|
|
user=%(ENV_USER)s
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
|
|
[unix_http_server]
|
|
file=/var/run/supervisor.sock
|
|
chmod=0770
|
|
chown=root:neko
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///var/run/supervisor.sock
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|