From f9e724452b98540e76487e2fe6d2587a1691d894 Mon Sep 17 00:00:00 2001 From: Adam Zammit Date: Thu, 6 Aug 2015 22:16:13 -0400 Subject: [PATCH] Start the system monitoring process as well --- voip/startvoipprocess.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/voip/startvoipprocess.php b/voip/startvoipprocess.php index bc7ff382..bc731415 100644 --- a/voip/startvoipprocess.php +++ b/voip/startvoipprocess.php @@ -45,6 +45,14 @@ include (realpath(dirname(__FILE__) . "/../db.inc.php")); include (realpath(dirname(__FILE__) . "/../functions/functions.process.php")); //end any other process +$p = is_process_running(2); +if ($p) +{ + kill_process($p); + end_process($p); +} +start_process(realpath(dirname(__FILE__) . "/../admin/systemsortprocess.php"),2); + $p = is_process_running(); if ($p) @@ -54,4 +62,5 @@ if ($p) } start_process(realpath(dirname(__FILE__) . "/../admin/process.php")); + ?>