Re: start another daemon when apache starts on ubuntu. how to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi,Don't really know ubuntu, but you could copy the init.d script which start apache.
that's what i do on my redhat servers.
Adapt this file to point to your second deamon configuration:
- using httpd -k start -f <config_file>
- modifying the CONFFILE, and pidfile
then register this second deamon using "chkconfig -add"
Ivan
On 13 August 2012 23:12, Rajeev Prasad
<rp.neuli@xxxxxxxxx> wrote:
hello,
can someone please advice how can i start another daemon when apache starts on ubuntu, and if it fails write that error to my apache error log ?
ty.
Rajeev
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--
Ivan GOUIN
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]