This should work just fine. Also, why do you want to start more than one box?
On May 08, 2009, at 18:44, dhcmega wrote:

Hi
I am trying to start and stop mbuni like this

case "$1" in
  start)
    echo -n "Starting mmsbox"
    start-stop-daemon --start \
        --background \
        --chuid mbuni \
        --exec $BOXPATH/mmsbox $CONF
    echo "."
    ;;

  stop)
    echo -n "Stopping mmsbox"
    start-stop-daemon --stop --retry 5 --quiet \
        --exec $BOXPATH/mmsbox
    echo "."
    ;;

  reload)
    # We don't have support for this yet.
    exit 1
    ;;

  restart|force-reload)
    $0 stop
    #sleep 1
    sleep 3
    $0 start
    ;;

  *)
    echo "Usage: $0 {start|stop|restart|force-reload}"
    exit 1

esac

I don´t know what run_mbuni_box do.
I also have trouble initiation more than one box.

I couldn´t find any mbuni starter.

Any suggestions will be appreciated.
Thanks

dhcmega
_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to