#!/bin/sh # # $FreeBSD: head/mail/mailutils/files/comsatd.in 559216 2020-12-25 08:17:49Z danfe $ # # PROVIDE: comsatd # REQUIRE: DAEMON # BEFORE: mail # KEYWORD: shutdown # . /etc/rc.subr name="comsatd" rcvar=comsatd_enable : ${comsatd_enable="NO"} command="%%PREFIX%%/sbin/${name}" pidfile="/var/run/${name}.pid" required_files="%%PREFIX%%/etc/mailutils.conf %%PREFIX%%/etc/mailutils/${name}" extra_commands="configlint" configlint_cmd="${name} --config-lint" load_rc_config ${name} run_rc_command "$1"