diff options
author | Karel Kočí <karel.koci@nic.cz> | 2020-01-27 17:53:13 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2020-01-27 17:53:13 +0100 |
commit | 6d1abf168e64bd7e9e320fe63f4129427bd76e8b (patch) | |
tree | ab52a00f87d5071c42003e8736b35e73d2a260cd /spotifyd/spotifyd.init | |
parent | 8f4f870d2754ecaefb2d6a04fac47c627dccb14a (diff) | |
download | alpine-personal-pkgs-6d1abf168e64bd7e9e320fe63f4129427bd76e8b.tar.gz alpine-personal-pkgs-6d1abf168e64bd7e9e320fe63f4129427bd76e8b.tar.bz2 alpine-personal-pkgs-6d1abf168e64bd7e9e320fe63f4129427bd76e8b.zip |
spotifyd: run as spotify user
Diffstat (limited to 'spotifyd/spotifyd.init')
-rwxr-xr-x | spotifyd/spotifyd.init | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spotifyd/spotifyd.init b/spotifyd/spotifyd.init index 0069c26..7f9d316 100755 --- a/spotifyd/spotifyd.init +++ b/spotifyd/spotifyd.init @@ -1,9 +1,12 @@ #!/sbin/openrc-run +name="Spotifyd" +description="Spotify player daemon" + command=/usr/bin/spotifyd pidfile=/var/run/spotifyd.pid command_args="--pid '$pidfile'" -name="Spotify daemon" +command_user="spotify:spotify" depend() { need net |