Added systemd integration, updated README

This commit is contained in:
emeric
2019-08-10 14:03:17 +02:00
parent 8ea1ed165e
commit 8b1eed504a
7 changed files with 104 additions and 38 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Lightweight Music Server
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=1
WorkingDirectory=/var/lms
ExecStart=/usr/bin/lms
User=lms
Group=lms
[Install]
WantedBy=multi-user.target