Skip to content

Commit

Permalink
Refactor deployment logic and error handling, update version, and add…
Browse files Browse the repository at this point in the history
… install script
  • Loading branch information
doziestar committed Jun 25, 2024
1 parent b4f1a06 commit 43e2015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deployment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ fn setup_apache_config() -> Result<(), Box<dyn Error>> {
"/etc/apache2/sites-available/000-default.conf",
apache_config,
)?;

if run_command("systemctl", &["reload", "apache2"]).is_err() {
run_command("systemctl", &["reload", "httpd"])?;
}
Expand Down

0 comments on commit 43e2015

Please sign in to comment.