projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git]
/
scripts
/
system
/
common_sysadmin.sh
diff --git
a/scripts/system/common_sysadmin.sh
b/scripts/system/common_sysadmin.sh
index 50f240fa65f6296f2a409e241ae64e78ea23229a..4ab80ed3716e6092650b5e8b8b6c30763a9d9869 100644
(file)
--- 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 "The bind service did not restart properly. Please check the error logs."
exit 1
fi
- echo DNS serv
er
restarted.
+ echo DNS serv
ice
restarted.
}
############################################################################
}
############################################################################
@@
-317,6
+317,7
@@
function restart_apache()
echo "Please consult the apache error logs for more details."
exit 1
fi
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.
}
# sets up the serverpilot storage location for a user hosted web site.
@@
-337,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
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.
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.