On 16.04.2026 11:16, Allan Streib wrote:
When I (re)boot, nginx doesn't start.

OpenBSD 7.8 GENERIC.MP#7 amd64

"rcctl start nginx" works manually.

Did you also execute a

"rcctl enable nginx"

as only this adds the needed "pkg_scripts=nginx" line
to /etc/rc.conf.local

Flags alone "nginx_flags=" work only for base system daemons
to start up on boot.

# 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?


--
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
https://www.wrapped.cx

Reply via email to