summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sgi-webuci/root/etc')
-rw-r--r--libs/sgi-webuci/root/etc/boa/boa.conf1
-rwxr-xr-xlibs/sgi-webuci/root/etc/init.d/boa8
2 files changed, 5 insertions, 4 deletions
diff --git a/libs/sgi-webuci/root/etc/boa/boa.conf b/libs/sgi-webuci/root/etc/boa/boa.conf
index 49f8217b91..03915da2fa 100644
--- a/libs/sgi-webuci/root/etc/boa/boa.conf
+++ b/libs/sgi-webuci/root/etc/boa/boa.conf
@@ -7,6 +7,7 @@ KeepAliveMax 1000
KeepAliveTimeout 10
MimeTypes /etc/mime.types
DefaultType text/plain
+ServerName localhost
CGIPath /bin:/usr/bin:/usr/local/bin
AddType application/x-httpd-cgi cgi
diff --git a/libs/sgi-webuci/root/etc/init.d/boa b/libs/sgi-webuci/root/etc/init.d/boa
index b2c37da1b7..57b0396259 100755
--- a/libs/sgi-webuci/root/etc/init.d/boa
+++ b/libs/sgi-webuci/root/etc/init.d/boa
@@ -27,19 +27,19 @@ set -e
start() {
echo -n "Starting $DESC: $NAME"
- start-stop-daemon --start --quiet --exec $DAEMON
+ start-stop-daemon -S -q -x $DAEMON
echo "."
}
stop() {
echo -n "Stopping $DESC: $NAME"
- start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
+ start-stop-daemon -K -q -x $DAEMON
echo "."
}
restart() {
echo -n "Restarting $DESC: $NAME... "
- start-stop-daemon --stop --signal HUP --quiet --oknodo --exec $DAEMON
+ start-stop-daemon -K -s HUP -q -x $DAEMON
echo "done."
}
@@ -52,6 +52,6 @@ reload() {
# directly anyway, make this a do-nothing entry.
#
echo -n "Reloading $DESC configuration... "
- start-stop-daemon --stop --signal 1 --quiet --oknodo --exec $DAEMON
+ start-stop-daemon -K -s 1 -q -x $DAEMON
echo "done."
}