summarylogtreecommitdiffstats
path: root/hqplayerd_user.service
diff options
context:
space:
mode:
Diffstat (limited to 'hqplayerd_user.service')
-rwxr-xr-xhqplayerd_user.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/hqplayerd_user.service b/hqplayerd_user.service
new file mode 100755
index 00000000000..0f65c30888c
--- /dev/null
+++ b/hqplayerd_user.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=HQPlayer Embedded daemon
+Requires=sound.target
+After=sound.target
+
+[Service]
+Type=simple
+# add the line below (with 30 or more) if hqplayerd cannot find remote NAA in time
+# ExecStartPre=/bin/sleep 30
+ExecStart=/usr/bin/hqplayerd
+Restart=always
+RestartSec=2
+
+[Install]
+WantedBy=default.target