#!/bin/ksh
#
# $OpenBSD: postgrey.rc,v 1.4.12.1 2020/11/19 16:16:01 sthen Exp $

daemon="/usr/local/libexec/postgrey -d"
daemon_flags="--inet=10023"

. /etc/rc.d/rc.subr

pexp="perl: .*postgrey -d${daemon_flags:+ ${daemon_flags}}.*"

rc_cmd $1
