summaryrefslogtreecommitdiffstats
path: root/setup-webconf.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-webconf.in')
-rw-r--r--setup-webconf.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/setup-webconf.in b/setup-webconf.in
index 849e683..f950db1 100644
--- a/setup-webconf.in
+++ b/setup-webconf.in
@@ -94,7 +94,6 @@ MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf"
MINI_HTTPD_DOCROOT=/var/www/localhost/htdocs
EOF
-pidof mini_httpd >/dev/null && /etc/init.d/mini_httpd stop
-rc-update add mini_httpd default
-/etc/init.d/mini_httpd start
+rc-update -q add mini_httpd default
+/etc/init.d/mini_httpd restart