blob: 003c98c855faa50a4e7c4607fcab0d7ab5ff0766 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
[Service]
Type=simple
# add the line below (with 30 or more) if hqplayerd cannot find remote NAA in time
# ExecStartPre=/bin/sleep 30
ExecStart=/bin/bash /usr/bin/start_hqplayerd.sh
Restart=always
RestartSec=2
[Install]
WantedBy=default.target
|