summaryrefslogtreecommitdiff
path: root/spotifyd/spotifyd.init
diff options
context:
space:
mode:
Diffstat (limited to 'spotifyd/spotifyd.init')
-rwxr-xr-xspotifyd/spotifyd.init14
1 files changed, 14 insertions, 0 deletions
diff --git a/spotifyd/spotifyd.init b/spotifyd/spotifyd.init
new file mode 100755
index 0000000..7b9d214
--- /dev/null
+++ b/spotifyd/spotifyd.init
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+name="Spotifyd"
+description="Spotify player daemon"
+
+command=/usr/bin/spotifyd
+command_args_foreground="--no-daemon"
+command_user="spotify:spotify"
+supervisor=supervise-daemon
+
+depend() {
+ need net
+ use logger
+}