masqmail
diff debian/masqmail.init @ 1:af25f5c39d90
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 |
line diff
1.1 --- a/debian/masqmail.init Fri Sep 26 17:05:23 2008 +0200 1.2 +++ b/debian/masqmail.init Fri Sep 26 20:56:23 2008 +0200 1.3 @@ -1,4 +1,11 @@ 1.4 #!/bin/sh 1.5 +### BEGIN INIT INFO 1.6 +# Provides: masqmail 1.7 +# Required-Start: $remote_fs 1.8 +# Required-Stop: $remote_fs 1.9 +# Default-Start: 2 3 4 5 1.10 +# Default-Stop: 0 1 6 1.11 +### END INIT INFO 1.12 # /etc/init.d/masqmail 1.13 # 1.14 # Written by Miquel van Smoorenburg <miquels@drinkel.ow.org>. 1.15 @@ -36,6 +43,11 @@ 1.16 exit 0 1.17 fi 1.18 1.19 +# Create /var/run/masqmail if /var/run/ is a tmpfs. 1.20 +if [ ! -d $RUN_DIR ] ; then 1.21 + mkdir -p $RUN_DIR 1.22 +fi 1.23 + 1.24 if [ x"$INIT_SMTP_DAEMON" = x"true" ] || [ x"$INIT_QUEUE_DAEMON" = x"true" ] ; then 1.25 DAEMON_ARGS= 1.26 if [ x"$INIT_SMTP_DAEMON" = x"true" ] ; then