summaryrefslogtreecommitdiffstats
path: root/Services/apache/sx/httpd.sh
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-12-06 00:27:16 +0100
committerstartxfr <clarue@startx.fr>2014-12-06 00:27:16 +0100
commit49452089e4d3b26d1da96f46b90974f4732d220b (patch)
treeefd33b57091350fbf40659270d3ae1cea19ade3b /Services/apache/sx/httpd.sh
parent28d5ddd7f63e587d48a985ca3efa29fbac409947 (diff)
downloadphpmyadmin-49452089e4d3b26d1da96f46b90974f4732d220b.tar.gz
phpmyadmin-49452089e4d3b26d1da96f46b90974f4732d220b.tar.bz2
phpmyadmin-49452089e4d3b26d1da96f46b90974f4732d220b.tar.xz
phpmyadmin-49452089e4d3b26d1da96f46b90974f4732d220b.zip
adding httpd config file when building apache image.
Diffstat (limited to 'Services/apache/sx/httpd.sh')
-rw-r--r--Services/apache/sx/httpd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Services/apache/sx/httpd.sh b/Services/apache/sx/httpd.sh
index a632dff..04f08b4 100644
--- a/Services/apache/sx/httpd.sh
+++ b/Services/apache/sx/httpd.sh
@@ -11,6 +11,7 @@ function begin_config {
# End configuration process just before starting daemon
function end_config {
+ stop_server
echo "=> End httpd configuration ..."
}
@@ -34,7 +35,7 @@ function stop_server {
# the running shell
function start_daemon {
echo "=> Starting httpd daemon ..."
- exec /usr/sbin/apachectl
+ exec /usr/sbin/apachectl -D FOREGROUND
}