From 691bcb7c85ded6c5c910a605bcc5e796ea7db43a Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Tue, 14 May 2024 12:36:52 +0300 Subject: [PATCH] Update ApacheBuild.php --- web/app/VirtualHosts/ApacheBuild.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/VirtualHosts/ApacheBuild.php b/web/app/VirtualHosts/ApacheBuild.php index 1f09cd4..2c07f89 100644 --- a/web/app/VirtualHosts/ApacheBuild.php +++ b/web/app/VirtualHosts/ApacheBuild.php @@ -88,7 +88,7 @@ IncludeOptional conf-enabled/*.conf file_put_contents('/etc/apache2/apache2.conf', $virtualHostMerged); - shell_exec('sudo service apache2 restart'); + shell_exec('systemctl reload apache2'); } }