freebsd-ports/dns/dhisd/files/dhisd.in
Vinícius Zavam 1ac8d84807 dns/dhisd: update to 5.5
* while here, adopt the port;

  * files/patch-Makefile;
      use CC=${CC} for clang and GCC compatibility;
      use PREFIX instead of hardcoding "/usr/local";
      better use WFLAGS+= (with a plus).

  * also updated 'pkg-descr' with a longer description about the port.

PR:		230990
Submitted by:	egypcio
Approved by:	rene (mentor)
2018-11-12 09:15:38 +00:00

23 lines
342 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# 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"