From 35f8911b1be5b2bfe1d338860a6c4419de0daa01 Mon Sep 17 00:00:00 2001 From: Joao Patricio Date: Fri, 12 May 2023 20:06:13 +0100 Subject: [PATCH] wip --- app/Actions/Proxy/CheckProxySettingsInSync.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Actions/Proxy/CheckProxySettingsInSync.php b/app/Actions/Proxy/CheckProxySettingsInSync.php index 0a63a0735..dc72e1dd7 100644 --- a/app/Actions/Proxy/CheckProxySettingsInSync.php +++ b/app/Actions/Proxy/CheckProxySettingsInSync.php @@ -20,7 +20,9 @@ class CheckProxySettingsInSync $container_name = 'coolify-proxy'; $output = instantRemoteProcess([ + // Folder exists, in ~/projects/ 'if [ -d "projects/'.$folder_name.'" ]; then echo "true"; else echo "false"; fi', + // Container of name is running <</dev/null)" == "true" ]] && echo "true" || echo "false" EOT,