aboutsummaryrefslogtreecommitdiffstats
path: root/packages/netioserver.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/netioserver.xml')
-rw-r--r--packages/netioserver.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/netioserver.xml b/packages/netioserver.xml
index cd5712ba..611cbfa9 100644
--- a/packages/netioserver.xml
+++ b/packages/netioserver.xml
@@ -30,6 +30,7 @@
</field>
</fields>
<custom_add_php_command>
+ mwexec("killall netio");
if($_POST['port'] != "") $netioserver_options = " -p {$_POST['port']}";
system("/usr/local/bin/netio -s" . $netioserver_options);
</custom_add_php_command>