summarylogtreecommitdiffstats
path: root/librespot.service
diff options
context:
space:
mode:
authorChristoph Gysin2016-09-05 21:12:46 +0300
committerChristoph Gysin2016-09-05 23:28:42 +0300
commite452ddb8cd02203e75fb66abdde2a20e7c5d5746 (patch)
treef5e176c834c34b72f40e449e17bf38fdf07de53b /librespot.service
downloadaur-e452ddb8cd02203e75fb66abdde2a20e7c5d5746.tar.gz
initial commit
Diffstat (limited to 'librespot.service')
-rw-r--r--librespot.service14
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