diff options
author | wiz <wiz@pkgsrc.org> | 2001-06-26 00:21:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-06-26 00:21:47 +0000 |
commit | 7d4811dbd4fa06bdc63cf9944a75b81a575bb9de (patch) | |
tree | e1381732e3b485a1324573e29caee3ab1231b4e4 /mail/exim/files | |
parent | 030afc1756e2ddc92520250830b5b33bb831c73f (diff) | |
download | pkgsrc-7d4811dbd4fa06bdc63cf9944a75b81a575bb9de.tar.gz |
Provide 'real' rc.d script for exim, as submitted by Sergey Svishchev in
pkg/12997. Note how to use it in MESSAGE. Drop some unnecessary input
redirections in Makefile.
Diffstat (limited to 'mail/exim/files')
-rw-r--r-- | mail/exim/files/exim | 17 | ||||
-rw-r--r-- | mail/exim/files/exim.sh | 8 |
2 files changed, 17 insertions, 8 deletions
diff --git a/mail/exim/files/exim b/mail/exim/files/exim new file mode 100644 index 00000000000..69237585343 --- /dev/null +++ b/mail/exim/files/exim @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $NetBSD: exim,v 1.1 2001/06/26 00:21:47 wiz Exp $ +# +# PROVIDE: mail +# REQUIRE: LOGIN + +. /etc/rc.subr + +name="exim" +rcvar=$name +command="@PREFIX@/sbin/${name}" +pidfile="/var/run/${name}.pid" +required_files="@PREFIX@/etc/exim/configure" + +load_rc_config $name +run_rc_command "$1" diff --git a/mail/exim/files/exim.sh b/mail/exim/files/exim.sh deleted file mode 100644 index c30a25474dd..00000000000 --- a/mail/exim/files/exim.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# -# $NetBSD: exim.sh,v 1.2 1999/09/18 20:28:26 ad Exp $ -# -if [ -x @PREFIX@/sbin/exim ] ; then - echo -n ' exim' - @PREFIX@/sbin/exim -bd -q15m -fi |