freebsd-ports/mail/pysieved/files/pysieved.in
Martin Wilke 0a4edf9d1e This is a GPL managesieve server. It uses a plug-in architecture to
support different authentication, homedir lookup, and storage
back-ends. The server ships with the following plug-ins:

Authentication:

    * Dovecot
    * PAM
    * SASL
    * MySQL

Homedir lookup & session initiation:

    * Dovecot
    * /etc/passwd
    * MySQL
    * simple virtual hosting (eg. /var/lib/virtual/username)

Storage:

    * Dovecot

WWW: http://woozle.org/~neale/src/pysieved/

PR:		ports/119578
Submitted by:	Denis Shaposhnikov <dsh at wizard.volgograd.ru>
2008-01-21 11:06:15 +00:00

27 lines
505 B
Bash

#!/bin/sh
#
# PROVIDE: %%PORTNAME%%
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
# Define these %%PORTNAME%%_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
#
. %%RC_SUBR%%
name="%%PORTNAME%%"
rcvar=`set_rcvar`
load_rc_config $name
: ${%%PORTNAME%%_enable="NO"}
: ${%%PORTNAME%%_pidfile="/var/run/%%PORTNAME%%.pid"}
pidfile="${%%PORTNAME%%_pidfile}"
command_interpreter="%%PYTHON_CMD%%"
command="%%PREFIX%%/lib/pysieved/pysieved.py"
run_rc_command "$1"