On 2023-10-10, Manuel Kuklinski <m...@asdfghasdfgh.de> wrote: > Hi! > > I can't get homebridge started at boot - it starts with the following > rc.d script if running as root after logging in, but fails to be present > at boot time: > > # cat /etc/rc.d/homebridge > #!/bin/ksh > > daemon="/usr/local/bin/homebridge" > daemon_user="_homebridge" > daemon_flags="-T -Q -U /var/homebridge" > daemon_class=daemon > daemon_logger="daemon.info" > daemon_execdir="/var/homebridge" > > . /etc/rc.d/rc.subr > > pexp="node: homebridge.*" > > rc_bg=YES > rc_reload=NO > > rc_cmd $1 > > What now? I'm happy about helping hands and hints... > > Kind regards. > >
Is it any better if you do daemon="/usr/local/bin/node" daemon_flags="/usr/local/bin/homebridge -T -Q -U /var/homebridge" or does that not work at all anyway? (I don't know homebridge) (I am using an express-app node script where I had problems running at boot in the past, but it's working ok with the above). -- Please keep replies on the mailing list.