Skip to content

Commit

Permalink
Reordering apache2 setup commands to reduce the number of service
Browse files Browse the repository at this point in the history
  • Loading branch information
laeti-tia committed Sep 25, 2024
1 parent ea871b3 commit d9835c5
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ case "$1" in
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
. /usr/share/apache2/apache2-maintscript-helper

apache2_invoke enmod ssl
apache2_invoke ensite default-ssl
apache2_invoke enmod proxy
apache2_invoke enmod proxy_http
apache2_invoke enconf apache-grafana
apache2_invoke enmod ssl reload
apache2_invoke enmod proxy reload
# Only do a restart once
apache2_invoke enmod proxy_http restart
fi
fi

Expand Down

0 comments on commit d9835c5

Please sign in to comment.