diff options
author | Ermal <eri@pfsense.org> | 2010-09-22 15:27:31 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-09-22 15:27:31 +0000 |
commit | fbd5fc52a755d46ef8de775fb6474af39fd14960 (patch) | |
tree | 44144941943666de068ba8e256e7eaab225eda3e /etc/phpshellsessions | |
parent | cd9f13e02d6fc4b5102deb94adbd9148ea5ce286 (diff) | |
download | pfsense-fbd5fc52a755d46ef8de775fb6474af39fd14960.zip pfsense-fbd5fc52a755d46ef8de775fb6474af39fd14960.tar.gz |
Bring gitsync to the new check_reload_status behaviour.
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r-- | etc/phpshellsessions/gitsync | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/phpshellsessions/gitsync b/etc/phpshellsessions/gitsync index 5efa4d7..6f7a53f 100644 --- a/etc/phpshellsessions/gitsync +++ b/etc/phpshellsessions/gitsync @@ -284,10 +284,6 @@ function post_cvssync_commands() { echo "===> Upgrading configuration (if needed)...\n"; convert_config(); - echo "===> Restarting check_reload_status...\n"; - exec("killall check_reload_status"); - mwexec_bg("nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status"); - echo "===> Configuring filter..."; exec("/etc/rc.filter_configure_sync"); exec("pfctl -f /tmp/rules.debug"); @@ -308,7 +304,7 @@ function post_cvssync_commands() { fwrite($fd, "#!/bin/sh\n"); fwrite($fd, "sleep 5\n"); fwrite($fd, "killall php\n"); - fwrite($fd, "touch /tmp/restart_webgui\n"); + fwrite($fd, "/usr/local/sbin/pfSctl -c 'service restart webgui'\n"); fclose($fd); mwexec_bg("sh /tmp/restart_lighty"); echo "\n"; |