13 lines
298 B
Bash
13 lines
298 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
|