Azimout's Linux weblog

Upstart script for Davmail

leave a comment »

Below is a very simple Upstart script for Davmail. To be installed under /etc/init. Borrowed and slightly adapted from

# davmail -DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway

description "DavMail POP/IMAP/SMTP/CalDav/LDAP Exchange Gateway"

start on started network-manager
stop on stopped network-manager

env DAVEXEC=/usr/bin/davmail
env DAVCONF=/etc/

expect fork

exec /usr/bin/nohup $DAVEXEC $DAVCONF

Written by azimout

01/01/2013 at 21:41

Posted in Tricks

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: