summaryrefslogtreecommitdiffstats
path: root/Services/apache/run.sh
blob: a02537e08f2a223196a75ba373822a8114f299ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
export HTTPDCONF=/etc/httpd/conf.d/app.conf

source /bin/sx-lib.sh
source /bin/sx-httpd.sh

if [[ "$0" == *"run.sh" && ! $1 = "" ]];then
    eval "$@"; 
fi

check_environment
check_httpd_environment
display_container_httpd_header
begin_config
end_config
display_container_started
start_daemon