diff --git a/ingredients/copper b/ingredients/copper index 22b1239..a202c2e 100644 --- a/ingredients/copper +++ b/ingredients/copper @@ -92,6 +92,10 @@ initialize_nginx() { sudo mkdir -p /etc/nginx/logs } +refresh_nginx() { + sudo systemctl reload nginx +} + make_site() { SITE=${1} shift diff --git a/ingredients/iron b/ingredients/iron index 1708d28..e7c9422 100644 --- a/ingredients/iron +++ b/ingredients/iron @@ -119,7 +119,7 @@ build_service_from_template() { activate_service() { SERVICE=$1 - sudo systemctl status ${SERVICE} &> /dev/null + sudo systemctl status ${SERVICE} > /dev/null return_code=$? case $return_code in diff --git a/recipes/alchemy.sh b/recipes/alchemy.sh index d2e8798..36f5cf9 100755 --- a/recipes/alchemy.sh +++ b/recipes/alchemy.sh @@ -96,8 +96,7 @@ if [ -z "$UPDATED" ]; then sudo dnf upgrade ;; "mac") - install - sudo brew update + brew update ;; esac remember "UPDATED=true"