openbsd-ports/mail/sympa/pkg/sympa.rc
landry 4824533aee Update to Sympa 6.1.3.
- switch config dir to /var/sympa/etc as sympa daemon/fcgi might want to
  write templates there
- switch to use spawn-fcgi, this way sympa web admin works fine in
  chrooted httpd
- provide a httpd.conf fragment to ease sympa integration
- switch to rc scripts (with help from aja@)
- improve README

With help and feedback from J.G Pailloncy, ok ajacoutot@
2010-12-30 17:51:25 +00:00

24 lines
299 B
Bash

#!/bin/sh
#
# $OpenBSD: sympa.rc,v 1.1 2010/12/30 17:51:25 landry Exp $
daemon="${TRUEPREFIX}/sbin/sympa"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_start() {
${daemon} start >/dev/null 2>&1
}
rc_stop() {
${daemon} stop >/dev/null 2>&1
}
rc_check() {
${daemon} status >/dev/null 2>&1
}
rc_cmd $1