libpulseaudio: ditch downstream defaults in daemon.conf
To start pulseaudio manually as a daemon, you just need "-D", but if you set daemonize=yes in daemon.conf, when you want start it undaemonized, you will need "--daemonize=no". We don't really need to set enable-shm to no explicitly. Setting exit-idle-time to -1 may not be as preferred as when it was when autospawn did not work. There's no point setting log-target to stderr. auto works fine (or perhaps even better) for us.
This commit is contained in:
parent
c380e354de
commit
527dfafcac
@ -1,34 +0,0 @@
|
||||
--- ../cache/pulseaudio-11.1/src/daemon/daemon.conf.in 2017-09-05 09:33:12.000000000 +0000
|
||||
+++ ./src/daemon/daemon.conf.in 2018-01-17 02:04:13.056075165 +0000
|
||||
@@ -19,6 +19,7 @@
|
||||
changequote(`[', `]')dnl Set up m4 quoting
|
||||
|
||||
; daemonize = no
|
||||
+daemonize = yes
|
||||
; fail = yes
|
||||
; allow-module-loading = yes
|
||||
; allow-exit = yes
|
||||
@@ -28,6 +29,7 @@
|
||||
; local-server-type = user
|
||||
])dnl
|
||||
; enable-shm = yes
|
||||
+enable-shm = no
|
||||
; enable-memfd = yes
|
||||
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
|
||||
; lock-memory = no
|
||||
@@ -41,13 +43,14 @@
|
||||
|
||||
; exit-idle-time = 20
|
||||
; scache-idle-time = 20
|
||||
-
|
||||
+exit-idle-time = -1
|
||||
; dl-search-path = (depends on architecture)
|
||||
|
||||
; load-default-script-file = yes
|
||||
; default-script-file = @PA_DEFAULT_CONFIG_DIR@/default.pa
|
||||
|
||||
; log-target = auto
|
||||
+log-target = stderr
|
||||
; log-level = notice
|
||||
; log-meta = no
|
||||
; log-time = no
|
Loading…
Reference in New Issue
Block a user