blob: 1afb03b937afb97f90f8b0849db1082d1597dc05 (
plain)
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
|
#!/bin/sh
# PROVIDE: dtcms
# REQUIRE: rpcbind
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable dtcms:
#
# dtcms_enable=YES
. /etc/rc.subr
name=dtcms
rcvar=dtcms_enable
desc="CDE calendar manager service daemon"
load_rc_config $name
: ${dtcms_enable:=NO}
start_precmd="force_depend rpcbind || exit 1"
pidfile=/var/run/dtcms.pid
command=/usr/sbin/daemon
command_args="-P $pidfile %%PREFIX%%/dt/bin/rpc.cmsd"
run_rc_command $1
|