Subject: pkg/12997: There is no rc.d script in exim package.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <svs@ropnet.ru>
List: netbsd-bugs
Date: 05/21/2001 10:34:07
>Number: 12997
>Category: pkg
>Synopsis: There is no rc.d script in exim package.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Mon May 21 10:33:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Sergey Svishchev
>Release: 1.5
>Organization:
private person
>Environment:
>Description:
There is no rc.d script in exim package.
>How-To-Repeat:
Install exim package, find out that to restart or kill the daemon you have to search for its PID file and run the kill command manually.
>Fix:
#!/bin/sh
# PROVIDE: mail
# REQUIRE: LOGIN
. /etc/rc.subr
name="exim"
rcvar=$name
command="/usr/pkg/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/usr/pkg/etc/exim/configure"
load_rc_config $name
run_rc_command "$1"
>Release-Note:
>Audit-Trail:
>Unformatted: