restarting a process through inittab
by linxbee from LinuxQuestions.org on (#5Q431)
I am using the following lines in my /etc/inittab for respawning syslog-ng,
Code:1:123456:respawn:/usr/sbin/syslog-ng -u syslog -g syslog -R /tmp/syslog-ng/syslog-ng.persist --control=/tmp/syslog-ng/syslog-ng.ctl --pidfile=/tmp/syslog-ng/syslog-ng.pid -Fbut it doesn't restart when using Code:kill -9 pidofsyslogInitially syslog-ng starts through a /etc/rc3.d/
What am i missing, pls let me know if any additional information is needed.
Code:1:123456:respawn:/usr/sbin/syslog-ng -u syslog -g syslog -R /tmp/syslog-ng/syslog-ng.persist --control=/tmp/syslog-ng/syslog-ng.ctl --pidfile=/tmp/syslog-ng/syslog-ng.pid -Fbut it doesn't restart when using Code:kill -9 pidofsyslogInitially syslog-ng starts through a /etc/rc3.d/
What am i missing, pls let me know if any additional information is needed.