From a621fd3b09a5d5703d7594761df18c573dac8a78 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Tue, 6 Mar 2018 11:05:26 +0100 Subject: [PATCH] run cronjob at the end of config-services script (when using --apply), thx v3ng Signed-off-by: Michael Kaufmann (d00p) --- install/scripts/config-services.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/scripts/config-services.php b/install/scripts/config-services.php index c0c84aec..3b5d1821 100755 --- a/install/scripts/config-services.php +++ b/install/scripts/config-services.php @@ -357,6 +357,9 @@ class Action } } } + // run cronjob at the end to ensure configs are all up to date + exec('php ' . FROXLOR_INSTALL_DIR . '/scripts/froxlor_master_cronjob.php --force'); + // and done CmdLineHandler::printsucc("All services have been configured"); } else { CmdLineHandler::printerr("Unable to decode given JSON file");