Kill sasyncd before restarting

This commit is contained in:
Scott Ullrich 2005-07-31 21:40:58 +00:00
parent 2991a0d6e4
commit 15fffebfbf

View File

@ -62,6 +62,8 @@ function vpn_ipsec_failover_configure() {
fclose($fd);
chmod("{$g['varetc_path']}/sasyncd.conf", 0600);
mwexec("killall sasyncd");
/* launch sasyncd, oh wise one */
mwexec_bg("/usr/local/sbin/sasyncd -d -v -v -v");
}