blob: 9b4a9ad6342b7b3f3be9ebc0cea72a88ff59e120 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
setup ()
{
debug "Setting up HTTPD environment: service $1, not managed by CTDB"
if [ "$1" != "down" ] ; then
for _service_name in "apache2" "httpd" ; do
service "$_service_name" start
done
else
for _service_name in "apache2" "httpd" ; do
service "$_service_name" force-stopped
done
fi
}
|