blob: 4d3d7bec4b43921de750792fbc3b7027871567b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: dbxml
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# dbxml_enable (bool): Set to NO by default.
# Set it to YES to enable dbxml.
#
. /etc/rc.subr
name="%%PORTNAME%%"
rcvar=%%PORTNAME%%_enable
command=%%LOCALBASE%%/bin/dbxmlctl
pidfile=%%DBXML_HOME%%/config/${name}.pid
procname=java
load_rc_config ${name}
: ${dbxml_enable="NO"}
: ${dbxml_user="%%USER%%"}
run_rc_command "$1"
|