summarylogtreecommitdiffstats
path: root/hqplayerd.service
diff options
context:
space:
mode:
authorblackhole2018-06-10 18:16:02 +0200
committerblackhole2018-06-10 18:16:02 +0200
commit4bb770647476787cab002586b117f98cd03dd34e (patch)
treef86c86a0ce9c8e089bd688628a40f15d3ed0a335 /hqplayerd.service
parent54d68d48f6004df8fcfa6113335ab5af3af747ea (diff)
downloadaur-4bb770647476787cab002586b117f98cd03dd34e.tar.gz
Updated systemd service
Diffstat (limited to 'hqplayerd.service')
-rwxr-xr-xhqplayerd.service7
1 files changed, 6 insertions, 1 deletions
diff --git a/hqplayerd.service b/hqplayerd.service
index 85fedee2362..835a9c293f2 100755
--- a/hqplayerd.service
+++ b/hqplayerd.service
@@ -1,12 +1,17 @@
[Unit]
Description=HQPlayer Embedded daemon
+# if your distro uses systemd-networkd you may want to add
+# systemd-networkd-wait-online.service
+Requires=network-online.target sound.target
After=network-online.target sound.target
-Wants=network-online.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
#EnvironmentFile=-/etc/default/hqplayerd
[Install]