@ -92,6 +92,10 @@ initialize_nginx() {
sudo mkdir -p /etc/nginx/logs
}
refresh_nginx() {
sudo systemctl reload nginx
make_site() {
SITE=${1}
shift
@ -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
@ -96,8 +96,7 @@ if [ -z "$UPDATED" ]; then
sudo dnf upgrade
;;
"mac")
install
sudo brew update
brew update
esac
remember "UPDATED=true"