comparison debian/masqmail.init @ 1:af25f5c39d90 0.2.21-4

added diff from debian (masqmail-0.2.21-4)
author meillo@marmaro.de
date Fri, 26 Sep 2008 20:56:23 +0200
parents 08114f7dcc23
children
comparison
equal deleted inserted replaced
0:08114f7dcc23 1:af25f5c39d90
1 #!/bin/sh 1 #!/bin/sh
2 ### BEGIN INIT INFO
3 # Provides: masqmail
4 # Required-Start: $remote_fs
5 # Required-Stop: $remote_fs
6 # Default-Start: 2 3 4 5
7 # Default-Stop: 0 1 6
8 ### END INIT INFO
2 # /etc/init.d/masqmail 9 # /etc/init.d/masqmail
3 # 10 #
4 # Written by Miquel van Smoorenburg <miquels@drinkel.ow.org>. 11 # Written by Miquel van Smoorenburg <miquels@drinkel.ow.org>.
5 # Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>. 12 # Modified for Debian GNU/Linux by Ian Murdock <imurdock@gnu.ai.mit.edu>.
6 # Modified for exim by Tim Cutts <tjrc1@mole.bio.cam.ac.uk> 13 # Modified for exim by Tim Cutts <tjrc1@mole.bio.cam.ac.uk>
32 test -x $DAEMON || exit 0 39 test -x $DAEMON || exit 0
33 40
34 if [ ! -f /etc/masqmail/masqmail.conf ] ; then 41 if [ ! -f /etc/masqmail/masqmail.conf ] ; then
35 echo "you have to configure masqmail first." 42 echo "you have to configure masqmail first."
36 exit 0 43 exit 0
44 fi
45
46 # Create /var/run/masqmail if /var/run/ is a tmpfs.
47 if [ ! -d $RUN_DIR ] ; then
48 mkdir -p $RUN_DIR
37 fi 49 fi
38 50
39 if [ x"$INIT_SMTP_DAEMON" = x"true" ] || [ x"$INIT_QUEUE_DAEMON" = x"true" ] ; then 51 if [ x"$INIT_SMTP_DAEMON" = x"true" ] || [ x"$INIT_QUEUE_DAEMON" = x"true" ] ; then
40 DAEMON_ARGS= 52 DAEMON_ARGS=
41 if [ x"$INIT_SMTP_DAEMON" = x"true" ] ; then 53 if [ x"$INIT_SMTP_DAEMON" = x"true" ] ; then