mongoose: S85mongoose: fix default options

mongoose fails to start because the options used are not supported by
mongoose. Fix it by using the correct option names instead.

[Peter: reworded commit text and use the correct long options instead]
Signed-off-by: Davide Viti <d.viti@infosolution.it>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Davide Viti 2013-11-25 10:03:23 +01:00 committed by Peter Korsgaard
parent efc35794c8
commit 12da132c2b

View File

@ -10,7 +10,7 @@ NAME=mongoose
DESC="Mongoose HTTP server"
DAEMON=`which mongoose`
OPTIONS="-max_threads 3 -root /var/www -ports 80"
OPTIONS="-num_threads 3 -document_root /var/www -listening_ports 80"
[ -e /etc/default/mongoose ] && . /etc/default/mongoose