aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/arpwatch.xml2
-rw-r--r--packages/doorman.xml3
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/arpwatch.xml b/packages/arpwatch.xml
index e09ee66e..2f0c3cb3 100644
--- a/packages/arpwatch.xml
+++ b/packages/arpwatch.xml
@@ -41,7 +41,7 @@
"stop" => $stop
)
);
- start_service("arpwatch")
+ restart_service("arpwatch");
conf_mount_ro();
config_unlock();
}
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();
}