On Wed, 13 Jul 2011, Antoine Jacoutot wrote:

> On Wed, 13 Jul 2011, David Coppa wrote:
> 
> > OK?
> > Is the script correct?
> 
> It looks fine yes. But you need to make sure you tested _all_ rc_cmd.

# /etc/rc.d/aiccu start
aiccu(ok)
# pgrep aiccu                                                                   
                                                                                
                                  
12468
# /etc/rc.d/aiccu check 
# echo $?                                                                       
                                                                                
                                  
0
# /etc/rc.d/aiccu stop  
aiccu(ok)
# /etc/rc.d/aiccu check 
# echo $?
1
# /etc/rc.d/aiccu start 
aiccu(ok)
# pgrep aiccu           
17948
# /etc/rc.d/aiccu restart
aiccu(ok)
aiccu(ok)
# pgrep aiccu             
15109
# /etc/rc.d/aiccu reload  
/etc/rc.d/aiccu: reload is not supported

Reply via email to