#!/bin/sh # # $FreeBSD: head/dns/dhisd/files/dhisd.in 484793 2018-11-12 09:15:38Z egypcio $ # # PROVIDE: dhisd # REQUIRE: SERVERS . /etc/rc.subr : ${dhisd_enable="NO"} : ${dhisd_flags=""} : ${dhisd_user="%%USER%%"} : ${dhisd_group="%%GROUP%%"} name="dhisd" rcvar="${name}_enable" command="%%PREFIX%%/sbin/dhisd" command_args="" pidfile="/var/run/dhis/${name}.pid" load_rc_config $name run_rc_command "$1"