summarylogtreecommitdiffstats
path: root/squeezelite.service
diff options
context:
space:
mode:
authorFabioLolix2022-03-04 23:37:15 +0100
committerFabioLolix2022-03-04 23:37:15 +0100
commit56a95987a8190ea6fd529e0a3f74b31c127af751 (patch)
treeefb0fdde7e10ca8929336c5300491a7d2cc65637 /squeezelite.service
parentfc2ef56b778c730340af1dd99445ac7ea8735e21 (diff)
downloadaur-56a95987a8190ea6fd529e0a3f74b31c127af751.tar.gz
revision
Diffstat (limited to 'squeezelite.service')
-rwxr-xr-xsqueezelite.service24
1 files changed, 24 insertions, 0 deletions
diff --git a/squeezelite.service b/squeezelite.service
new file mode 100755
index 000000000000..5ce62cfb1f7f
--- /dev/null
+++ b/squeezelite.service
@@ -0,0 +1,24 @@
+[Unit]
+Description=Squeezelite Player
+After=network.target
+
+[Service]
+Nice=-10
+LimitRTPRIO=98
+LimitMEMLOCK=infinity
+#ControlGroup=cpu:/
+User=squeezelite
+Group=squeezelite
+SupplementaryGroups=audio
+EnvironmentFile=-/etc/squeezelite.conf
+
+ExecStart=/usr/bin/squeezelite\
+ $OPTIONS\
+ $NAME $MAC $PRIORITY\
+ $MAX_RATE $AUDIO_DEV\
+ $BUFFER $CODEC $ALSA_PARAMS $VOLUME\
+ $LOG_FILE $LOG_LEVEL\
+ $UPSAMPLE $DOP $VISULIZER $SERVER_IP
+
+[Install]
+WantedBy=multi-user.target