echo "The bind service did not restart properly. Please check the error logs."
exit 1
fi
- echo DNS server restarted.
+ echo DNS service restarted.
}
############################################################################
# removes a config file for apache given the app name and site name.
function remove_apache_config()
{
- local appname="$1"; shift
local sitename="$1"; shift
local site_config="/etc/apache2/sites-available/${sitename}.conf"
echo "Please consult the apache error logs for more details."
exit 1
fi
+ echo Apache2 service restarted.
}
# sets up the serverpilot storage location for a user hosted web site.
chmod -R g+rx "$chow_path"
# walk backwards up the path and fix perms.
while [[ $chow_path != $HOME ]]; do
-echo chow path is now $chow_path
+#echo chow path is now $chow_path
chmod g+rx "$chow_path"
test_or_die "Failed to add group permissions on the path: $chow_path"
# reassert the user's ownership of any directories we might have just created.