openbsd-ports/mail/sympa/pkg/wwsympa.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

14 lines
274 B
Bash

#!/bin/sh
#
# $OpenBSD: wwsympa.rc,v 1.1 2010/12/30 17:51:25 landry Exp $
daemon="${LOCALBASE}/bin/spawn-fcgi"
daemon_flags="-u_sympa -g_sympa -p1026 ${TRUEPREFIX}/libexec/sympa/wwsympa.fcgi"
. /etc/rc.d/rc.subr
pexp="/usr/bin/perl.*wwsympa.fcgi"
rc_reload=NO
rc_cmd $1