From 7d4811dbd4fa06bdc63cf9944a75b81a575bb9de Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 26 Jun 2001 00:21:47 +0000 Subject: 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. --- mail/exim/files/exim | 17 +++++++++++++++++ mail/exim/files/exim.sh | 8 -------- 2 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 mail/exim/files/exim delete mode 100644 mail/exim/files/exim.sh (limited to 'mail/exim/files') 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 -- cgit v1.2.3