i tryed to write my own fan regulation service by copying /lib/66/service/ntpd to /lib/66/service/fan and editing it
but 66-enable -t root fan throws me
66-enable: fatal: unable to parse service file: fan: or its dependencies

what did i miss, or else would be needed?
contents:

[main]
@ type = classic
@ description = "fan daemon"
@ user = ( root )

[start]
@ build = auto
@ execute = ( execl-cmdline -s { fan.sh } )

[environment]
got it!
i just had to delete [environment]
tricks: use the -v option like this
# 66-enable -v3 -t root fan
it will show you a lot of message of what it currently doing and the exact reason of a crash

Powered by Obarun