~cypheon/pkgsrc-wip

pkgsrc-wip/postoffice/files/postoffice.sh -rw-r--r-- 329 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $NetBSD: postoffice.sh,v 1.3 2009/02/08 12:29:53 pbraun9 Exp $
#

# PROVIDE: postoffice
# REQUIRE: DAEMON

$_rc_subr_loaded . /etc/rc.subr

name="postoffice"
rcvar=$name
command="/usr/pkg/lib/${name}"
pidfile="/var/run/${name}.pid"
required_files="/usr/pkg/etc/${name}.cf"

load_rc_config $name
run_rc_command "$1"