aboutsummaryrefslogtreecommitdiffstats
path: root/packages/doorman.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-26 04:29:35 +0000
committerColin Smith <colin@pfsense.org>2005-06-26 04:29:35 +0000
commit755518b69233c533e44effa26c614c39fd5e7b0d (patch)
tree970e991eb71b02136d33abe826ab08862f2bb289 /packages/doorman.xml
parent89e09690017bd8577058b5031722938f18e1e1a4 (diff)
downloadpfsense-packages-755518b69233c533e44effa26c614c39fd5e7b0d.tar.gz
pfsense-packages-755518b69233c533e44effa26c614c39fd5e7b0d.tar.bz2
pfsense-packages-755518b69233c533e44effa26c614c39fd5e7b0d.zip
start -> restart
Diffstat (limited to 'packages/doorman.xml')
-rw-r--r--packages/doorman.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/doorman.xml b/packages/doorman.xml
index 36b3f7fe..4e12cb6b 100644
--- a/packages/doorman.xml
+++ b/packages/doorman.xml
@@ -96,8 +96,7 @@
if($_POST['checkdelay'] != "") fwrite($fout, "connection_delay_2 " . $_POST['checkdelay'] . "\n");
fwrite($fout, "pidfile /var/run/doormand.pid\nlogfile /var/log/messages\nloglevel NOTICE\nguestlist /usr/local/etc/doormand/guestlist\nfirewall-add /usr/local/etc/doormand/pfctl_add\nfirewall-del /usr/local/etc/doormand/pfctl_del\ntag-queue-length 100000\ntag-queue /var/doorman_tag_queue\ntag-db /var/doorman_tag_db.db\n");
fclose($fout);
- mwexec("killall doormand");
- mwexec("/usr/local/etc/rc.d/doormand.sh");
+ restart_service("doorman");
conf_mount_ro();
config_unlock();
}