fix defect #4229 xcatd will restart when add a kit or remove a kit that has a plugin

This commit is contained in:
immarvin 2014-07-22 20:34:23 -07:00
parent 7680ac2dec
commit b07006d576

View File

@ -1411,7 +1411,8 @@ sub addkit
if ( $hasplugin ) {
# Issue xcatd reload to load the new plugins
system("/etc/init.d/xcatd restart");
#system("/etc/init.d/xcatd restart");
system("XCATRELOAD=yes xcatd -p /var/run/xcatd.pid");
}
}
}
@ -1731,7 +1732,8 @@ sub rmkit
if ( $hasplugin ) {
# Issue xcatd reload to load the new plugins
system("/etc/init.d/xcatd restart");
#system("/etc/init.d/xcatd restart");
system("XCATRELOAD=yes xcatd -p /var/run/xcatd.pid");
}
}