fix defect #4229 xcatd will restart when add a kit or remove a kit that has a plugin
This commit is contained in:
parent
44bae8d8ea
commit
9e71b35a43
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user