2012-08-26 20:35:22 +00:00

25 lines
292 B
Bash

#!/bin/sh
#
# $OpenBSD: sympa.rc,v 1.6 2012/08/26 20:35:22 landry Exp $
daemon="${TRUEPREFIX}/sbin/sympa"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_start() {
rm -f /var/spool/lock/sympa
${rcexec} "${daemon} start"
}
rc_stop() {
${daemon} stop
}
rc_check() {
${daemon} status
}
rc_cmd $1