Changes

Jump to navigation Jump to search
658 bytes added ,  03:20, 5 May 2010
Start script for Funambol
Line 140: Line 140:     
MySQL Engine : Also in ''/opt/Funambol/bin/funambol'' change ''COMED=true'' to ''COMED=false'' somewhere around line 44 while you're at it (this prevents the start/stop script from trying to start or stop the Hypersonic database, since we’re going to use MySQL). After that, you can ''rm -rf /opt/Funambol/tools/hypersonic'' to save yet a bit more disk space if you want.
 
MySQL Engine : Also in ''/opt/Funambol/bin/funambol'' change ''COMED=true'' to ''COMED=false'' somewhere around line 44 while you're at it (this prevents the start/stop script from trying to start or stop the Hypersonic database, since we’re going to use MySQL). After that, you can ''rm -rf /opt/Funambol/tools/hypersonic'' to save yet a bit more disk space if you want.
 +
 +
== Auto start Funambol on startup ==
 +
 +
To make Funambol start automagically, create /etc/init.d/funambol  with the following content (and chmod 755 /etc/init.d/funambol  afterwards) :
 +
 +
#! /bin/bash
 +
#
 +
# funambol Start the funambol services
 +
#
 +
NAME="funambol"
 +
FUNAMBOL_HOME=/opt/Funambol/bin
 +
FUNAMBOL_USER=root
 +
case "$1" in
 +
  start)
 +
    echo -ne "Starting $NAME.\n"
 +
    cd $FUNAMBOL_HOME
 +
    /bin/su $FUNAMBOL_USER funambol start
 +
    ;;
 +
 +
  stop)
 +
    echo -ne "Stopping $NAME.\n"
 +
    cd $FUNAMBOL_HOME
 +
    /bin/su $FUNAMBOL_USER funambol stop
 +
    ;;
 +
 +
  *)
 +
    echo "Usage: /etc/init.d/funambol {start|stop}"
 +
    exit 1
 +
    ;;
 +
esac
 +
exit 0
    
== Configuring the Calendar Sync connection ==
 
== Configuring the Calendar Sync connection ==
374

edits

Navigation menu