Need to be able to init on any distro.
The current supervisor.d configs are configured specifically for a particular supervisor version / installation. This decouples the configuration so we can use it on any distro.
This commit is contained in:
18
overlay/etc/supervisor.d/pulseaudio.ini
Normal file
18
overlay/etc/supervisor.d/pulseaudio.ini
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
[program:pulseaudio]
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=10
|
||||
# TODO: Should this run as user
|
||||
#user=root
|
||||
user=%(ENV_USER)s
|
||||
command=/usr/bin/pulseaudio -vvvv --disallow-module-loading --disallow-exit --exit-idle-time=-1
|
||||
#command=/usr/bin/pulseaudio -vvvv --system --disallow-module-loading --disallow-exit --exit-idle-time=-1
|
||||
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
|
||||
stopsignal=QUIT
|
||||
stdout_logfile=/home/%(ENV_USER)s/.cache/log/pulseaudio.log
|
||||
stdout_logfile_maxbytes=2MB
|
||||
stdout_logfile_backups=7
|
||||
stderr_logfile=/home/%(ENV_USER)s/.cache/log/pulseaudio.err.log
|
||||
stderr_logfile_maxbytes=2MB
|
||||
stderr_logfile_backups=7
|
||||
Reference in New Issue
Block a user