diff options
Diffstat (limited to 'Services/mariadb/run.sh')
-rw-r--r-- | Services/mariadb/run.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Services/mariadb/run.sh b/Services/mariadb/run.sh new file mode 100644 index 0000000..a59a9af --- /dev/null +++ b/Services/mariadb/run.sh @@ -0,0 +1,15 @@ +#!/bin/bash +source /bin/sx-lib.sh +source /bin/sx-httpd.sh + +if [[ "$0" == *"run.sh" && ! $1 = "" ]];then + eval "$@"; +fi + +check_environment | tee -a $STARTUPLOG +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 |