From 6d1abf168e64bd7e9e320fe63f4129427bd76e8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 27 Jan 2020 17:53:13 +0100 Subject: spotifyd: run as spotify user --- spotifyd/spotifyd.pre-install | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 spotifyd/spotifyd.pre-install (limited to 'spotifyd/spotifyd.pre-install') diff --git a/spotifyd/spotifyd.pre-install b/spotifyd/spotifyd.pre-install new file mode 100755 index 0000000..7addb5d --- /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 kodi audio 2>/dev/null + +exit 0 -- cgit v1.2.3