From 43e2015918ca46069512daaaa17e0feecd51f21d Mon Sep 17 00:00:00 2001 From: "Chidozie C. Okafor" <39489124+doziestar@users.noreply.github.com> Date: Tue, 25 Jun 2024 11:09:23 +0200 Subject: [PATCH] Refactor deployment logic and error handling, update version, and add install script --- src/deployment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deployment.rs b/src/deployment.rs index fc169f3..26c15cf 100644 --- a/src/deployment.rs +++ b/src/deployment.rs @@ -351,7 +351,7 @@ fn setup_apache_config() -> Result<(), Box> { "/etc/apache2/sites-available/000-default.conf", apache_config, )?; - + if run_command("systemctl", &["reload", "apache2"]).is_err() { run_command("systemctl", &["reload", "httpd"])?; }