summaryrefslogtreecommitdiffstats
path: root/Services/apache/run.sh
blob: 8cb801029672d32c086ece33b31623f6f4ee700c (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_header
begin_config
end_config
start_daemon
display_container_started