summaryrefslogtreecommitdiff
path: root/spotifyd/spotifyd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'spotifyd/spotifyd.pre-install')
-rwxr-xr-xspotifyd/spotifyd.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/spotifyd/spotifyd.pre-install b/spotifyd/spotifyd.pre-install
new file mode 100755
index 0000000..282e21c
--- /dev/null
+++ b/spotifyd/spotifyd.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+addgroup -S spotify 2>/dev/null
+adduser -S -D -h /var/lib/spotify -s /sbin/nologin -G spotify spotify 2>/dev/null
+
+adduser spotify audio 2>/dev/null
+
+exit 0