Hello,
I'm running FreeBSD 8.x. I would like to change the behavior of the start command of an rc.d script. The purpose is to start Apache 2.2 using this command:
[cmd=]/usr/local/sbin/setaudit -a www -m fc,fd,ex /usr/local/sbin/httpd[/cmd]
instead of just:
[cmd=]/usr/local/sbin/httpd[/cmd]
If I put
into /etc/rc.conf to override the value of "command", it breaks ("start" works but complains, and "restart" breaks).
I'm running FreeBSD 8.x. I would like to change the behavior of the start command of an rc.d script. The purpose is to start Apache 2.2 using this command:
[cmd=]/usr/local/sbin/setaudit -a www -m fc,fd,ex /usr/local/sbin/httpd[/cmd]
instead of just:
[cmd=]/usr/local/sbin/httpd[/cmd]
If I put
Code:
apache22_program="/usr/local/sbin/setaudit -a www -m fc,fd,ex /usr/local/sbin/httpd"