#!/bin/bash # # PROVIDE: atmailcalendarserver # REQUIRE: mysql-server # # Add the following line to /etc/rc.conf to enable atmail: # atmailcalendarserver_enable (bool): Set to "NO" by default. # Set it to "YES" to enable Atmail. . /etc/rc.subr name="atmailcalendarserver" rcvar=`set_rcvar` command="/etc/rc.d/atmailcalendarserver start" load_rc_config $name atmailcalendarserver_enable=${atmailcalendarserver_enable-"NO"} run_rc_command "$1"