fix defect #4229 xcatd will restart when add a kit or remove a kit that has a plugin
This commit is contained in:
parent
7680ac2dec
commit
b07006d576
@ -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