How i can add this to rc.conf

Status
Not open for further replies.
how I can put this in rc.conf?
Code:
truss service apache22 start

/usr/local/sbin/apachectl start
And how I can see all system error ??
 
SirDice, I think that the problem that still remains is that the OP needs to prepend the truss(1) command before starting the service, and I don't have a quick answer to that. Only a question: OP, Why would you want to catch all system calls each and every time your apache starts?
 
Create /etc/rc.local, and put
Code:
/usr/bin/truss /usr/sbin/service apache22 forcestart
in there. Make sure you don't have anything starting apache22 in /etc/rc.conf.
 
You can also put that line in [cmd=]crontab -e -u root[/cmd] and put @reboot as the time. Use one or the other, of course.
 
Thanks DutchDaemon!!!!!!!!!!

And, I have a metin2 server on FreeBSD. I can make a email activation for registration ?
PS : I have router , local ip address
 
Ermm.. Wrong subject.

Thread closed, sent first and final warning to user.
 
Status
Not open for further replies.
Back
Top