diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-17 15:38:20 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-17 15:38:20 +0000 |
commit | 2cf2758e3d6b93ae7f10b96680dadf5b7206eb9c (patch) | |
tree | f32002c741ed01a86fb7e3fe83ac07d951a1b381 /media-sound/pulseaudio/files | |
parent | Revision bump to support new Java system. (diff) | |
download | gentoo-2-2cf2758e3d6b93ae7f10b96680dadf5b7206eb9c.tar.gz gentoo-2-2cf2758e3d6b93ae7f10b96680dadf5b7206eb9c.tar.bz2 gentoo-2-2cf2758e3d6b93ae7f10b96680dadf5b7206eb9c.zip |
Improve support for system-wide pulseaudio daemon, let it work with users in audio group.
(Portage version: 2.1.1_pre3)
Diffstat (limited to 'media-sound/pulseaudio/files')
-rw-r--r-- | media-sound/pulseaudio/files/pulseaudio.conf.d | 1 | ||||
-rw-r--r-- | media-sound/pulseaudio/files/pulseaudio.init.d | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/media-sound/pulseaudio/files/pulseaudio.conf.d b/media-sound/pulseaudio/files/pulseaudio.conf.d index 620443bfedf3..01521ede4aee 100644 --- a/media-sound/pulseaudio/files/pulseaudio.conf.d +++ b/media-sound/pulseaudio/files/pulseaudio.conf.d @@ -4,4 +4,3 @@ # Startup options PA_OPTS="--log-target=syslog" - diff --git a/media-sound/pulseaudio/files/pulseaudio.init.d b/media-sound/pulseaudio/files/pulseaudio.init.d index 66165fa2f556..08dbadfe2f57 100644 --- a/media-sound/pulseaudio/files/pulseaudio.init.d +++ b/media-sound/pulseaudio/files/pulseaudio.init.d @@ -9,8 +9,14 @@ depend() { start() { ebegin "Starting pulseaudio" - start-stop-daemon --start --quiet --background --exec /usr/bin/pulseaudio -- ${PA_OPTS} --fail=true + HOME=/var/run/pulse + start-stop-daemon --start --chuid pulse:pulse \ + --exec /usr/bin/pulseaudio -- ${PA_OPTS} --fail=true -D eend $? + + chgrp -R audio /var/run/pulse + chmod 0750 /var/run/pulse + chmod 0660 /var/run/pulse/native } stop() { |