summaryrefslogtreecommitdiffstats
path: root/Services/apache/sx
diff options
context:
space:
mode:
Diffstat (limited to 'Services/apache/sx')
-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
}