Re: Why /var/www/run instead of /var/run for web services

2024-05-12 Thread Dan
> I suspect that it is because a web service might change its root > directory to /var/www using chroot(2), > Can anyone confirm or deny my assumption? right, www is chrooted. -Dan

Why /var/www/run instead of /var/run for web services

2024-05-12 Thread Souji Thenria
Hi everyone, I hope all of you had a great weekend so far! I was wondering why OpenBSD web services like httpd write their PID file to /var/www/run instead of /var/run. I suspect that it is because a web service might change its root directory to /var/www using chroot(2), making everything