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 44bae8d8ea
commit 9e71b35a43

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");
}
}