blob: 5aa2796d7048d15106d1f0ed46b4c37bcf4bfff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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"
|