Script to test the module service
#!/bin/bash
# module itgrix
PGREP="/usr/bin/pgrep -x"
RESTART_itgrix_bx="/etc/init.d/itgrix_bx restart"
itgrix="itgrix_bx"
$PGREP ${itgrix}
if [ $? -ne 0 ]; then
$RESTART_itgrix_bx
fi #!/bin/bash
# module itgrix
PGREP="/usr/bin/pgrep -x"
RESTART_itgrix_kmo="/etc/init.d/itgrix_kmo restart"
itgrix="itgrix_kmo"
$PGREP ${itgrix}
if [ $? -ne 0 ]; then
$RESTART_itgrix_kmo
fiLast updated