If nginx is running as 'www' then you're building your own nginx rather
than using the package? If so, then nginx is starting however you tell
it, and without details it's impossible to say.
It's installed through package and I use a startup as adviced in
/etc/rc.local.
However the 'user' in the nginx.conf is set to 'www'.
Thanks for the pointers - I will add a daemon class to login.conf.
Like with the MySQL examples [1] should I restart nginx through a
shellscript as well ?
(Per documentation it is adviced to restart nginx with 'kill -HUP pid')
Thanks,
Matt
[1] http://openbsdsupport.org/mysql.htm#/etc/rc.local