summarylogtreecommitdiffstats
path: root/lyrionmusicserver.service
diff options
context:
space:
mode:
authorFabioLolix2025-03-23 23:23:04 +0100
committerFabioLolix2025-03-23 23:23:04 +0100
commitdc1b164c16dfe4a3d7c491721e89e1de866de3ee (patch)
treec45b58dbf67ede3aabcd1be933250b20606577f4 /lyrionmusicserver.service
downloadaur-lyrionmusicserver.tar.gz
init
Diffstat (limited to 'lyrionmusicserver.service')
-rwxr-xr-xlyrionmusicserver.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/lyrionmusicserver.service b/lyrionmusicserver.service
new file mode 100755
index 000000000000..1b50f2a614fb
--- /dev/null
+++ b/lyrionmusicserver.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Logitech Media Server Daemon
+After=network.target
+
+[Service]
+User=lyrionmusicserver
+Group=lyrionmusicserver
+WorkingDirectory=/opt/lyrionmusicserver-git
+RuntimeDirectory=lyrionmusicserver-git
+PIDFile=${RUNTIME_DIRECTORY}/slimserver.pid
+ExecStart=/opt/lyrionmusicserver-git/slimserver.pl \
+ --prefsdir /opt/lyrionmusicserver-git/prefs \
+ --cachedir /opt/lyrionmusicserver-git/cache \
+ --logdir /opt/lyrionmusicserver-git/Logs \
+ --pidfile ${RUNTIME_DIRECTORY}/slimserver.pid \
+ --noimage --novideo
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file