On 2026-04-16, Allan Streib <[email protected]> wrote:
> When I (re)boot, nginx doesn't start.
>
> OpenBSD 7.8 GENERIC.MP#7 amd64
>
> "rcctl start nginx" works manually.
>
> # ls -l /etc/rc.conf.local
>
>
> -rw-r--r-- 1 root wheel 116 Oct 31 16:36 /etc/rc.conf.local
>
> # grep nginx /etc/rc.conf.local
> nginx_flags=
>
> # rcctl get nginx
> nginx_class=daemon
> nginx_execdir=
> nginx_flags=NO
> nginx_logger=
> nginx_rtable=0
> nginx_timeout=30
> nginx_user=root
>
> What am I missing?
>
Anything in logs or on the console? (dmesg -s)
If not, you could try editing this in /etc/rc and see if it gives a clue
[[ $_do != NO ]] && /etc/rc.d/${_daemon} start
to
[[ $_do != NO ]] && /etc/rc.d/${_daemon} -d start
--
Please keep replies on the mailing list.