summaryrefslogtreecommitdiff
path: root/mail/sympa/files/task_manager.sh
blob: 2600191bf05f733b1de6f85dcd5816e7cd76f2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: task_manager.sh,v 1.1 2007/03/28 20:51:10 bouyer Exp $
#
# PROVIDE: task_manager
# REQUIRE: sympa
# KEYWORD: shutdown

if [ -f /etc/rc.subr ]
then
	. /etc/rc.subr
fi

name="task_manager"
rcvar=$name
command="@PREFIX@/sympa/bin/task_manager.pl"
pidfile="/var/sympa/run/task_manager.pid"
command_interpreter="@PREFIX@/bin/perl"
sympa_user="sympa"

load_rc_config $name
run_rc_command "$1"