#!/bin/sh # # $FreeBSD: head/databases/postgresql-relay/files/postgresql-relay.in 340872 2014-01-24 00:14:07Z mat $ # # PROVIDE: postgresql-relay # REQUIRE: LOGIN # AFTER: postgresql # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable spamd: # #postgresqlrelay_enable="YES" # # See postgresql-relay(8) for flags # . /etc/rc.subr name=postgresqlrelay rcvar=postgresqlrelay_enable command=%%PREFIX%%/bin/postgresql-relay required_files=%%PREFIX%%/etc/postgresql-relay.conf load_rc_config $name postgresqlrelay_enable=${postgresqlrelay_enable:-"NO"} run_rc_command "$1"