X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fcommon_sysadmin.sh;h=4ab80ed3716e6092650b5e8b8b6c30763a9d9869;hb=504eaa2fbc6405d0721a0f3b872b996f17c353bf;hp=435b474f9bf207ca97d3e6e5dde2cbdc639ea5e3;hpb=353d2f0887e378b38e81d61af52629369e1d8930;p=feisty_meow.git diff --git a/scripts/system/common_sysadmin.sh b/scripts/system/common_sysadmin.sh index 435b474f..4ab80ed3 100644 --- a/scripts/system/common_sysadmin.sh +++ b/scripts/system/common_sysadmin.sh @@ -181,7 +181,7 @@ function restart_bind() echo "The bind service did not restart properly. Please check the error logs." exit 1 fi - echo DNS server restarted. + echo DNS service restarted. } ############################################################################ @@ -191,7 +191,6 @@ function restart_bind() # 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" @@ -318,6 +317,7 @@ function restart_apache() 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. @@ -338,7 +338,7 @@ function maybe_create_site_storage() 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.