files:davmail
- davmail
#! /bin/sh ### BEGIN INIT INFO # Provides: davmail # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: DavMail Exchange gatway # Description: A gateway between Microsoft Exchange and open protocols. ### END INIT INFO # Author: Jesse TeKrony <jesse ~at~ jtekrony ~dot~ com> PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Davmail Exchange gateway" NAME=davmail CONFIG=/etc/davmail.properties DAEMON=/usr/bin/$NAME DAEMON_ARGS="$CONFIG" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME LOGFILE=/var/log/davmail.log # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions . /lib/lsb/init-functions # # Function that starts the daemon/service # do_start() { start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON
files/davmail.txt · Last modified: 2018-10-11 16:40 by brb