2020-06-17 10:32:34 +12:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
2021-09-12 04:15:12 +12:00
|
|
|
user=root
|
2020-06-17 10:32:34 +12:00
|
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
logfile=/dev/null
|
|
|
|
logfile_maxbytes=0
|
|
|
|
loglevel=debug
|
|
|
|
|
|
|
|
[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=/var/log/neko/dbus.log
|
|
|
|
stdout_logfile_maxbytes=100MB
|
|
|
|
stdout_logfile_backups=10
|
|
|
|
redirect_stderr=true
|
|
|
|
|
|
|
|
[program:x-server]
|
|
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
|
|
|
|
command=/usr/bin/X -config /etc/neko/xorg.conf %(ENV_DISPLAY)s
|
|
|
|
autorestart=true
|
|
|
|
priority=300
|
|
|
|
user=%(ENV_USER)s
|
|
|
|
stdout_logfile=/var/log/neko/xorg.log
|
|
|
|
stdout_logfile_maxbytes=100MB
|
|
|
|
stdout_logfile_backups=10
|
|
|
|
redirect_stderr=true
|
|
|
|
|
|
|
|
[program:pulseaudio]
|
|
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
2022-05-15 04:54:38 +12:00
|
|
|
command=/usr/bin/pulseaudio --log-level=info --disallow-module-loading --disallow-exit --exit-idle-time=-1
|
2020-06-17 10:32:34 +12:00
|
|
|
autorestart=true
|
|
|
|
priority=300
|
|
|
|
user=%(ENV_USER)s
|
|
|
|
stdout_logfile=/var/log/neko/pulseaudio.log
|
|
|
|
stdout_logfile_maxbytes=100MB
|
|
|
|
stdout_logfile_backups=10
|
|
|
|
redirect_stderr=true
|
|
|
|
|
|
|
|
[program:neko]
|
|
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
2021-01-14 07:40:43 +13:00
|
|
|
command=/usr/bin/neko serve --static "/var/www"
|
2021-09-12 04:15:12 +12:00
|
|
|
stopsignal=INT
|
|
|
|
stopwaitsecs=5
|
2020-06-17 10:32:34 +12:00
|
|
|
autorestart=true
|
|
|
|
priority=800
|
|
|
|
user=%(ENV_USER)s
|
|
|
|
stdout_logfile=/var/log/neko/neko.log
|
|
|
|
stdout_logfile_maxbytes=100MB
|
|
|
|
stdout_logfile_backups=10
|
|
|
|
redirect_stderr=true
|
2023-04-10 01:24:16 +12:00
|
|
|
|
|
|
|
[unix_http_server]
|
|
|
|
file=/var/run/supervisor.sock
|
|
|
|
chmod=0700
|
|
|
|
chown=root:root
|
|
|
|
|
|
|
|
[supervisorctl]
|
|
|
|
serverurl=unix:///var/run/supervisor.sock
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|