amdgpud/services/amdfand

17 lines
256 B
Plaintext

#!/sbin/openrc-run
description="amdfan controller"
pidfile="/run/${SVCNAME}.pid"
command="/usr/bin/amdfand"
command_args="service"
command_user="root"
command_background=true
depend() {
need udev
}
stop_pre() {
rm /var/lib/amdfand/amdfand.pid
}