Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Coolercontrol OpenRC/Runit service file. (Read 298 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Coolercontrol OpenRC/Runit service file.

Could anybody write OpenRC and Runit service files for Coolercontrol AUR package, please?

Re: Coolercontrol OpenRC/Runit service file.

Reply #1
Ok, I found them myself.
coolercontrol-liquidctl
Code: [Select]
#!/sbin/openrc-run
name=$RC_SVCNAME
description="CoolerControl Liquidctl Daemon"
supervisor="supervise-daemon"
command="/usr/bin/coolercontrol-liqctld"
command_args="--daemon"
supervise_daemon_args=" -e "COOLERCONTROL_LOG=\"INFO"\""

coolercontrold
Code: [Select]
#!/sbin/openrc-run
name=$RC_SVCNAME
description="CoolerControl Daemon"
supervisor="supervise-daemon"
command="/usr/bin/coolercontrold"
supervise_daemon_args=" -e "COOLERCONTROL_LOG=\"INFO"\""

depend() {
after net coolercontrol-liqctld
use coolercontrol-liqctld
}