summaryrefslogtreecommitdiff
path: root/spotifyd/spotifyd.pre-install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-03-10 16:25:44 +0100
committerKarel Kočí <cynerd@email.cz>2021-03-10 16:25:44 +0100
commite8f1f5b34526763c05ec669b826481869e32f64c (patch)
tree81841711f6517a708b2a0b90a90b10f60112b5d4 /spotifyd/spotifyd.pre-install
parent2e6615d5893af80c900cd331422870807dd82f8c (diff)
downloadalpine-personal-pkgs-e8f1f5b34526763c05ec669b826481869e32f64c.tar.gz
alpine-personal-pkgs-e8f1f5b34526763c05ec669b826481869e32f64c.tar.bz2
alpine-personal-pkgs-e8f1f5b34526763c05ec669b826481869e32f64c.zip
spotifyd: add as new package
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