summarylogtreecommitdiffstats
path: root/hqplayerd2.service
blob: 9828d61c984e35df2c8177fb35291a8474515f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[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 systemd-udev-settle.service
After=network-online.target sound.target systemd-udev-settle.service

[Service]
Type=simple
ExecStart=/usr/bin/hqplayerd
Restart=always
RestartSec=2
EnvironmentFile=-/etc/default/hqplayerd
Nice=-10
IOSchedulingClass=realtime
LimitMEMLOCK=1G
LimitNICE=-10
LimitRTPRIO=98

[Install]
WantedBy=multi-user.target