| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- [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
- ; =============================================================================
- ; Xorg + XFCE
- ;
- ; Keep the program name "entrypoint": sunshine-entrypoint.sh intentionally
- ; restarts this Supervisor program after Sunshine creates its uinput devices.
- ; =============================================================================
- [program:entrypoint]
- command=/usr/bin/dbus-run-session -- /etc/desktop-entrypoint.sh
- environment=HOME="/home/ubuntu",USER="ubuntu",DISPLAY="%(ENV_DISPLAY)s",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",PIPEWIRE_RUNTIME_DIR="%(ENV_PIPEWIRE_RUNTIME_DIR)s",PULSE_RUNTIME_PATH="%(ENV_PULSE_RUNTIME_PATH)s",PULSE_SERVER="%(ENV_PULSE_SERVER)s"
- stdout_logfile=/dev/fd/1
- stdout_logfile_maxbytes=0
- redirect_stderr=true
- stopasgroup=true
- killasgroup=true
- stopsignal=TERM
- autostart=true
- autorestart=true
- startsecs=1
- startretries=20
- priority=5
- ; =============================================================================
- ; PipeWire
- ; =============================================================================
- [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=HOME="/home/ubuntu",USER="ubuntu",PIPEWIRE_LATENCY="128/48000",DISPLAY="%(ENV_DISPLAY)s",DISABLE_RTKIT="y",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",PIPEWIRE_RUNTIME_DIR="%(ENV_PIPEWIRE_RUNTIME_DIR)s",PULSE_RUNTIME_PATH="%(ENV_PULSE_RUNTIME_PATH)s",PULSE_SERVER="%(ENV_PULSE_SERVER)s"
- stdout_logfile=/dev/fd/1
- stdout_logfile_maxbytes=0
- redirect_stderr=true
- stopasgroup=true
- killasgroup=true
- stopsignal=INT
- autostart=true
- autorestart=true
- startsecs=1
- 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=HOME="/home/ubuntu",USER="ubuntu",PIPEWIRE_LATENCY="128/48000",DISPLAY="%(ENV_DISPLAY)s",DISABLE_RTKIT="y",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",PIPEWIRE_RUNTIME_DIR="%(ENV_PIPEWIRE_RUNTIME_DIR)s",PULSE_RUNTIME_PATH="%(ENV_PULSE_RUNTIME_PATH)s",PULSE_SERVER="%(ENV_PULSE_SERVER)s"
- stdout_logfile=/dev/fd/1
- stdout_logfile_maxbytes=0
- redirect_stderr=true
- stopasgroup=true
- killasgroup=true
- stopsignal=INT
- autostart=true
- autorestart=true
- startsecs=1
- 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=HOME="/home/ubuntu",USER="ubuntu",PIPEWIRE_LATENCY="128/48000",DISPLAY="%(ENV_DISPLAY)s",DISABLE_RTKIT="y",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s",PIPEWIRE_RUNTIME_DIR="%(ENV_PIPEWIRE_RUNTIME_DIR)s",PULSE_RUNTIME_PATH="%(ENV_PULSE_RUNTIME_PATH)s",PULSE_SERVER="%(ENV_PULSE_SERVER)s"
- stdout_logfile=/dev/fd/1
- stdout_logfile_maxbytes=0
- redirect_stderr=true
- stopasgroup=true
- killasgroup=true
- stopsignal=INT
- autostart=true
- autorestart=true
- startsecs=1
- startretries=20
|