summaryrefslogtreecommitdiff
path: root/files/cherrymusic@.service
diff options
context:
space:
mode:
Diffstat (limited to 'files/cherrymusic@.service')
-rw-r--r--files/cherrymusic@.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/cherrymusic@.service b/files/cherrymusic@.service
new file mode 100644
index 0000000..1cadd35
--- /dev/null
+++ b/files/cherrymusic@.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=CherryMusic server
+Requires=network.target
+After=network.target
+
+[Service]
+User=%I
+Type=simple
+ExecStart=/usr/local/share/cherrymusic/cherrymusic
+StandardOutput=null
+PrivateTmp=true
+Restart=always
+
+[Install]
+WantedBy=multi-user.target