14 lines
349 B
Bash
14 lines
349 B
Bash
#! /bin/bash
|
|
# this script is meant to be run by ansible
|
|
|
|
source functions.sh
|
|
# check that alias has been tried
|
|
addHeader
|
|
fileMustExist /etc/httpd/conf.d/cours.opendoor.fr.conf
|
|
dirMustExist /srv/cours/www
|
|
dirMustExist /srv/cours/logs
|
|
pkgInstalled httpd
|
|
serviceIsEnabled httpd
|
|
serviceIsActive httpd
|
|
okIfCurl http://localhost/config "strong>MPM Name"
|