[syslog-ng]Automatic starting of syslog-ng

Thomas Reidy syslog-ng@lists.balabit.hu
Sun, 29 Aug 2004 20:44:10 -0400


Thanks to both of you... I'll give this a shot tonight...

-- 
--- Tom
t_r_e_i_d_y_@-g-m-a-i-l-.-c-o-m

On Sat, 28 Aug 2004 07:33:45 -0500, Jeffery P. Humes <jeff@bofus.org> wrote:
> There is a contributed init script in the source directory:
>     (I know it says RedHat-7.3, but it will work for 9)
> 
> # copy the init script into place
> cp -p <your_source_dir>/syslog-ng-1.6.5/contrib/init.d.RedHat-7.3
> /etc/init.d/syslog-ng
> 
> # make it executable (if it isn't already)
> chmod +x /etc/init.d/syslog-ng
> 
> # turn off syslog (if you are completely replacing it)
> chkconfig syslog off
> 
> # turn on syslog-ng at reboot time
> chkconfig syslog-ng on
> 
> # stop syslog and start syslog-ng
> /etc/init.d/syslog stop
> /etc/init.d/syslog-ng start
> 
> 
> 
> 
> Thomas Reidy wrote:
> 
> >Running on Red Hat 9..  the application is running, logging perfectly..
> >
> >I built it w/o the RPMs, and need to know how to get this to start
> >automatically during startup..  its been a long day, so this may be
> >obvious..
> >
> >Am I right to assume if I reboot the box, I won't get logging until I
> >manually start the script?
> >
> >I could just put something simple in /etc/init.d, etc but need to know
> >what the file should say..  the init scripts never just seem to launch
> >the programs...
> >
> >Thanks in advance...
> >
> >
> >
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 
>