1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
[supervisord]
nodaemon=true
user=root
pidfile=/var/run/supervisord.pid
logfile=/dev/null
logfile_maxbytes=0
loglevel=debug
[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[include]
files=/etc/neko/supervisord/*.conf
[program:x-server]
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
command=/bin/bash -c "/usr/bin/X -config /etc/neko/xorg.conf %(ENV_DISPLAY)s"
autorestart=true
priority=300
user=%(ENV_USER)s
stdout_logfile=/mnt/host/logs/xorg.log
stdout_logfile_maxbytes=100MB
redirect_stderr=true
[program:xfwm4]
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
command=/bin/bash -c "export $(dbus-launch) && /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd --daemon && /usr/bin/xfwm4"
autorestart=true
priority=300
user=%(ENV_USER)s
stdout_logfile=/mnt/host/logs/xfwm4.log
stdout_logfile_maxbytes=100MB
redirect_stderr=true
[program:neko]
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
command=/bin/bash -c "touch ~/.bashrc && source ~/.bashrc && /usr/bin/neko serve -d --static '/var/www'"
stopsignal=INT
stopwaitsecs=5
autorestart=true
priority=800
user=%(ENV_USER)s
stdout_logfile=/mnt/host/logs/neko.log
stdout_logfile_maxbytes=100MB
redirect_stderr=true
[program:unclutter]
command=unclutter -idle 0
autorestart=true
priority=300
user=%(ENV_USER)s
stdout_logfile=/mnt/host/logs/unclutter.log
stdout_logfile_maxbytes=1MB
redirect_stderr=true
|