On 2021/11/09 09:45, Marcus MERIGHI wrote: > >Synopsis: shell script started by rcctl stops immediately > >Category: user > >Environment: > System : OpenBSD 7.0 > Details : OpenBSD 7.0-current (GENERIC.MP) #80: Mon Nov 8 08:34:04 > MST 2021 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > The following worked until one or two days ago: > The rc.d script: > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > daemon="/usr/local/bin/mixsvr.sh" > daemon_timeout=5
You didn't show the #! line from the rc script, which is important information. It needs to use ksh not sh.