mongoose: S85mongoose: fix default options
authorDavide Viti <zinosat@tiscali.it>
Mon, 25 Nov 2013 09:03:23 +0000 (10:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 25 Nov 2013 09:41:19 +0000 (10:41 +0100)
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>
package/mongoose/S85mongoose

index e9e8524ca8ad224742ec70f58bd1ef90534a76c5..ff7da05b087e8f400826db9c010237d2c0318561 100755 (executable)
@@ -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