summarylogtreecommitdiffstats
path: root/hqplayerd_user.service
diff options
context:
space:
mode:
authorblackhole2021-04-20 13:56:15 +0200
committerblackhole2021-04-20 13:56:15 +0200
commit51284359f4abe5df0f59e18bb23040580e19b478 (patch)
tree053383dfe573e7b48d16c76a0218299c43d80748 /hqplayerd_user.service
parent1f55122af653fa089f4aae403c955da281380bff (diff)
downloadaur-51284359f4abe5df0f59e18bb23040580e19b478.tar.gz
Using sysusers.d and tmpfiles.d for hqplayer user
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