From c0255bd442d7f5b268797612932709f9beb97707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Mon, 21 Apr 2014 15:30:23 +0200 Subject: [PATCH] todo for restart --- application/core/ManiaControl.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index c4731cb4..12629766 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -285,6 +285,7 @@ class ManiaControl implements CommandListener, TimerListener { $this->log('Restarting ManiaControl!'); // Execute start script in background + // TODO: restart the .php script itself ($_SERVER['scriptname'] or something + $argv) if ($this->getOS(self::OS_UNIX)) { $command = 'sh ' . escapeshellarg(ManiaControlDir . '/ManiaControl.sh') . ' > /dev/null &'; exec($command);