diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-20 12:10:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-20 12:10:40 +0100 |
commit | 98bb4fd81aeb876160e32fbce742598df0eeafcd (patch) | |
tree | f2361233e18414f77a4afb068797a600c1a69214 /package/pulseaudio/files | |
parent | e979b689a571ccc86b5c0b3ad31933c30266f16b (diff) |
start pulseaudio in daemon mode, create cookie dir, dbus dependency
Diffstat (limited to 'package/pulseaudio/files')
-rw-r--r-- | package/pulseaudio/files/pulseaudio.init | 4 | ||||
-rw-r--r-- | package/pulseaudio/files/pulseaudio.postinst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/pulseaudio/files/pulseaudio.init b/package/pulseaudio/files/pulseaudio.init index 029174628..ca7465105 100644 --- a/package/pulseaudio/files/pulseaudio.init +++ b/package/pulseaudio/files/pulseaudio.init @@ -11,10 +11,10 @@ autostart) ;; start) if [ ! -d /var/run/pulse ]; then - mkdir -p /var/run/pulse && chown pulse.pulse /var/run/pulse && chmod 750 /var/run/pulse + mkdir -p /var/run/pulse/.pulse-cookie && chown -R pulse.pulse /var/run/pulse && chmod 750 /var/run/pulse fi if [ ! -d /var/lib/pulse ]; then - mkdir -p /var/lib/pulse && chown pulse.pulse /var/lib/pulse && chmod 750 /var/lib/pulse + mkdir -p /var/lib/pulse/.pulse-cookie && chown -R pulse.pulse /var/lib/pulse && chmod 750 /var/lib/pulse fi /usr/bin/pulseaudio $pulseaudio_flags ;; diff --git a/package/pulseaudio/files/pulseaudio.postinst b/package/pulseaudio/files/pulseaudio.postinst index 3e5b348a9..b339de93f 100644 --- a/package/pulseaudio/files/pulseaudio.postinst +++ b/package/pulseaudio/files/pulseaudio.postinst @@ -4,4 +4,4 @@ add_rcconf pulseaudio pulseaudio NO gid=$(get_next_gid) add_user pulse $(get_next_uid) $gid /var/run/pulse add_group pulse $gid -add_rcconf pulseaudio_flags pulseaudio_flags "--system --disallow-exit --disallow-module-loading --disable-shm --exit-idle-time=-1 --realtime=false" +add_rcconf pulseaudio_flags pulseaudio_flags "-D --system --disallow-exit --disallow-module-loading --disable-shm --exit-idle-time=-1 --realtime=false" |