diff options
Diffstat (limited to 'librespot.service')
-rw-r--r-- | librespot.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/librespot.service b/librespot.service new file mode 100644 index 000000000000..4be50d2c1ef3 --- /dev/null +++ b/librespot.service @@ -0,0 +1,14 @@ +[Unit] +Description=An open source client library for Spotify + +[Service] +EnvironmentFile=/etc/librespot.conf +ExecStart=/usr/bin/librespot \ + --cache ${LIBRESPOT_CACHE} \ + --name ${LIBRESPOT_NAME} \ + --bitrate ${LIBRESPOT_BITRATE} \ + --username ${LIBRESPOT_USERNAME} \ + --password ${LIBRESPOT_PASSWORD} + +[Install] +WantedBy=default.target |