|
|
@@ -0,0 +1,92 @@
|
|
|
+[unix_http_server]
|
|
|
+file=/tmp/supervisor.sock
|
|
|
+chmod=0700
|
|
|
+
|
|
|
+[supervisord]
|
|
|
+logfile=/dev/null
|
|
|
+loglevel=info
|
|
|
+pidfile=/tmp/supervisord.pid
|
|
|
+childlogdir=/tmp
|
|
|
+nodaemon=true
|
|
|
+
|
|
|
+[rpcinterface:supervisor]
|
|
|
+supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|
|
|
+
|
|
|
+[supervisorctl]
|
|
|
+serverurl=unix:///tmp/supervisor.sock
|
|
|
+
|
|
|
+
|
|
|
+[program:entrypoint]
|
|
|
+command=/usr/bin/dbus-run-session -- /etc/entrypoint.sh
|
|
|
+stdout_logfile=/dev/fd/1
|
|
|
+stdout_logfile_maxbytes=0
|
|
|
+redirect_stderr=true
|
|
|
+stopasgroup=true
|
|
|
+killasgroup=true
|
|
|
+stopsignal=INT
|
|
|
+autostart=true
|
|
|
+autorestart=true
|
|
|
+startretries=20
|
|
|
+priority=1
|
|
|
+
|
|
|
+
|
|
|
+[program:dbus]
|
|
|
+command=/bin/bash -c 'install -d -m 0700 "${XDG_RUNTIME_DIR}" && exec dbus-daemon --system --nofork --nosyslog --nopidfile --address="${DBUS_SYSTEM_BUS_ADDRESS}"'
|
|
|
+environment=DISPLAY="%(ENV_DISPLAY)s",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",DBUS_SYSTEM_BUS_ADDRESS="%(ENV_DBUS_SYSTEM_BUS_ADDRESS)s"
|
|
|
+stdout_logfile=/dev/fd/1
|
|
|
+stdout_logfile_maxbytes=0
|
|
|
+redirect_stderr=true
|
|
|
+stopasgroup=true
|
|
|
+killasgroup=true
|
|
|
+stopsignal=INT
|
|
|
+autostart=true
|
|
|
+autorestart=true
|
|
|
+startretries=20
|
|
|
+priority=1
|
|
|
+
|
|
|
+
|
|
|
+[group:pipewire-group]
|
|
|
+programs=pipewire,wireplumber,pipewire-pulse
|
|
|
+priority=10
|
|
|
+
|
|
|
+
|
|
|
+[program:pipewire]
|
|
|
+command=/bin/bash -c 'until [ -S "/tmp/.X11-unix/X${DISPLAY#*:}" ]; do sleep 0.5; done; exec dbus-run-session -- /usr/bin/pipewire'
|
|
|
+environment=PIPEWIRE_LATENCY="128/48000",DISPLAY="%(ENV_DISPLAY)s",DISABLE_RTKIT="y",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",DBUS_SYSTEM_BUS_ADDRESS="%(ENV_DBUS_SYSTEM_BUS_ADDRESS)s",PIPEWIRE_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",PULSE_RUNTIME_PATH="%(ENV_XDG_RUNTIME_DIR)s/pulse"
|
|
|
+stdout_logfile=/dev/fd/1
|
|
|
+stdout_logfile_maxbytes=0
|
|
|
+redirect_stderr=true
|
|
|
+stopasgroup=true
|
|
|
+killasgroup=true
|
|
|
+stopsignal=INT
|
|
|
+autostart=true
|
|
|
+autorestart=true
|
|
|
+startretries=20
|
|
|
+
|
|
|
+
|
|
|
+[program:wireplumber]
|
|
|
+command=/bin/bash -c 'until compgen -G "${XDG_RUNTIME_DIR}/pipewire-*.lock" >/dev/null; do sleep 0.5; done; exec dbus-run-session -- /usr/bin/wireplumber'
|
|
|
+environment=PIPEWIRE_LATENCY="128/48000",DISPLAY="%(ENV_DISPLAY)s",DISABLE_RTKIT="y",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",DBUS_SYSTEM_BUS_ADDRESS="%(ENV_DBUS_SYSTEM_BUS_ADDRESS)s",PIPEWIRE_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",PULSE_RUNTIME_PATH="%(ENV_XDG_RUNTIME_DIR)s/pulse"
|
|
|
+stdout_logfile=/dev/fd/1
|
|
|
+stdout_logfile_maxbytes=0
|
|
|
+redirect_stderr=true
|
|
|
+stopasgroup=true
|
|
|
+killasgroup=true
|
|
|
+stopsignal=INT
|
|
|
+autostart=true
|
|
|
+autorestart=true
|
|
|
+startretries=20
|
|
|
+
|
|
|
+
|
|
|
+[program:pipewire-pulse]
|
|
|
+command=/bin/bash -c 'until compgen -G "${XDG_RUNTIME_DIR}/pipewire-*.lock" >/dev/null; do sleep 0.5; done; exec dbus-run-session -- /usr/bin/pipewire-pulse'
|
|
|
+environment=PIPEWIRE_LATENCY="128/48000",DISPLAY="%(ENV_DISPLAY)s",DISABLE_RTKIT="y",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",DBUS_SYSTEM_BUS_ADDRESS="%(ENV_DBUS_SYSTEM_BUS_ADDRESS)s",PIPEWIRE_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",PULSE_RUNTIME_PATH="%(ENV_XDG_RUNTIME_DIR)s/pulse"
|
|
|
+stdout_logfile=/dev/fd/1
|
|
|
+stdout_logfile_maxbytes=0
|
|
|
+redirect_stderr=true
|
|
|
+stopasgroup=true
|
|
|
+killasgroup=true
|
|
|
+stopsignal=INT
|
|
|
+autostart=true
|
|
|
+autorestart=true
|
|
|
+startretries=20
|