Add the status of FOG services in the command "service"


  • Moderator

    Hi,

    I have updated my FOG service script to add the “status” (In my debian : service FOGservice status") like that :

    • status case :
      [CODE]status)
      status_of_proc ${DAEMON} ${NAME}
      ;;[/CODE]

    • usage :
      [CODE]echo “Usage FOGImageReplicator {start|stop|restart|status}” >&2[/CODE]

    See the attachment for the four services.

    If it’s OK for you, can you update the SVN with it ?

    Regards,
    Ch3i.

    [url="/_imported_xf_attachments/1/1987_fog status.zip?:"]fog status.zip[/url]


  • Senior Developer

    Added.


 

355
Online

41.8k
Users

12.3k
Topics

116.0k
Posts