From 93e54f8a72a4adcd90ec87b3705448f0fda2078d Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Fri, 14 Jun 2024 16:53:33 +0300 Subject: [PATCH] Update ApacheBuild.php --- web/app/Jobs/ApacheBuild.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/Jobs/ApacheBuild.php b/web/app/Jobs/ApacheBuild.php index f8578ca..9de1c9d 100644 --- a/web/app/Jobs/ApacheBuild.php +++ b/web/app/Jobs/ApacheBuild.php @@ -77,7 +77,7 @@ class ApacheBuild implements ShouldQueue file_put_contents('/etc/apache2/apache2.conf', $apache2); - shell_exec('systemctl restart apache2'); + shell_exec('systemctl reload apache2'); // IMPORTANT: MUST BE RELOAD! NOT RESTART! } }