diff --git a/xCAT-server/lib/xcat/plugins/kit.pm b/xCAT-server/lib/xcat/plugins/kit.pm index aec853777..85ea8122b 100644 --- a/xCAT-server/lib/xcat/plugins/kit.pm +++ b/xCAT-server/lib/xcat/plugins/kit.pm @@ -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"); } }