LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   service start script doesn't show OK or FAILED (http://www.linuxquestions.org/questions/linux-newbie-8/service-start-script-doesnt-show-ok-or-failed-820410/)

bboopathi 07-17-2010 12:34 PM

service start script doesn't show OK or FAILED
 
Please help me!
I have written a init.d script but, when do '/sbin/service scriptd start' it does not indicate OK or FAILED
What could I be missing?

Keith Hedger 07-17-2010 12:38 PM

post your script

bboopathi 07-18-2010 01:41 AM

Thanks Keith
i have solved this myself.
I must use daemon and killproc functions from /etc/init.d/functions then it prints the status OK or FAILED


All times are GMT -5. The time now is 05:10 AM.