neko/server/runtime/supervisord.conf

53 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-11-28 09:51:33 +13:00
[supervisord]
nodaemon=true
2021-04-06 07:08:08 +12:00
user=root
2020-11-28 09:51:33 +13:00
pidfile=/var/run/supervisord.pid
2022-11-11 06:18:39 +13:00
logfile=/dev/stderr
2020-11-28 09:51:33 +13:00
logfile_maxbytes=0
[include]
files=/etc/neko/supervisord/*.conf
[program:x-server]
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
2021-04-07 06:51:08 +12:00
command=/usr/bin/X %(ENV_DISPLAY)s -config /etc/neko/xorg.conf -noreset -nolisten tcp
2020-11-28 09:51:33 +13:00
autorestart=true
priority=300
user=%(ENV_USER)s
2022-11-11 06:18:39 +13:00
stdout_logfile=/dev/stderr
stdout_logfile_maxbytes=0
2020-11-28 09:51:33 +13:00
redirect_stderr=true
[program:pulseaudio]
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
2023-04-01 06:07:38 +13:00
command=/usr/bin/pulseaudio --log-level=error --disallow-module-loading --disallow-exit --exit-idle-time=-1
2020-11-28 09:51:33 +13:00
autorestart=true
priority=300
user=%(ENV_USER)s
2022-11-11 06:18:39 +13:00
stdout_logfile=/dev/stderr
stdout_logfile_maxbytes=0
2020-11-28 09:51:33 +13:00
redirect_stderr=true
[program:neko]
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
2021-01-14 09:36:59 +13:00
command=/usr/bin/neko serve
2021-03-17 02:08:38 +13:00
stopsignal=INT
stopwaitsecs=3
2020-11-28 09:51:33 +13:00
autorestart=true
priority=800
user=%(ENV_USER)s
2022-11-11 06:18:39 +13:00
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
2020-11-28 09:51:33 +13:00
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