From 49452089e4d3b26d1da96f46b90974f4732d220b Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 6 Dec 2014 00:27:16 +0100 Subject: adding httpd config file when building apache image. --- Services/apache/sx/httpd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Services/apache/sx') 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 } -- cgit v1.2.3