aboutsummaryrefslogtreecommitdiffstats
path: root/community/pulseaudio/pulseaudio.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/pulseaudio/pulseaudio.post-install')
-rw-r--r--community/pulseaudio/pulseaudio.post-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/pulseaudio/pulseaudio.post-install b/community/pulseaudio/pulseaudio.post-install
new file mode 100644
index 0000000000..2464e7515a
--- /dev/null
+++ b/community/pulseaudio/pulseaudio.post-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Alpine Linux post-install script for socklog
+# Copyright 2019 Leo (thinkabit.ukim@gmail.com)
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+addgroup -S pulse-access 2>/dev/null
+addgroup -S pulse 2>/dev/null
+
+adduser -S -D -H -h /var/run/pulse -g "PulseAudio daemon" -G pulse pulse 2>/dev/null
+adduser pulse audio 2>/dev/null
+