summaryrefslogtreecommitdiffstats
path: root/Services/php/run.sh
blob: 4d4c580c0ced1e0da0607edf983ab1f9caa2110f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
source /bin/sx-lib.sh
source /bin/sx-httpd.sh

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

check_httpd_environment | tee -a $STARTUPLOG
display_container_httpd_header | tee -a $STARTUPLOG
begin_config | tee -a $STARTUPLOG
end_config | tee -a $STARTUPLOG
display_container_started | tee -a $STARTUPLOG
start_daemon | tee -a $STARTUPLOG