diff --git a/container/nginx/www/admin/index.php b/container/nginx/www/admin/index.php index e65b917e..03dc6500 100644 --- a/container/nginx/www/admin/index.php +++ b/container/nginx/www/admin/index.php @@ -29,6 +29,15 @@ header('Location: /'); } +if (!empty($_GET['manual_ts_sync_start'])) { + $manual_ts_sync_start = $_GET['manual_ts_sync_start']; + if($manual_ts_sync_start == "go") + { + exec("/opt/stateless/engine/tools/tsSyncLocalParseMultithreaded.sh >> /opt/stateful/logs/tsSync.log &"); + header('Location: /'); + } +} + # http(s) detector if($_SERVER['HTTP_X_FORWARDED_PROTO'] == "https") { @@ -198,10 +207,10 @@ function autoStart_$world(cb)
- +
- + @@ -209,13 +218,14 @@ function autoStart_$world(cb) - + +
CommandsCommands
- +
@@ -286,7 +296,7 @@ function autoStart_$world(cb)
Status - +
Logs