diff options
Diffstat (limited to 'x11/cde/files/dtcms25.in')
-rw-r--r-- | x11/cde/files/dtcms25.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/cde/files/dtcms25.in b/x11/cde/files/dtcms25.in new file mode 100644 index 000000000000..236823469312 --- /dev/null +++ b/x11/cde/files/dtcms25.in @@ -0,0 +1,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%%/dt25/bin/rpc.cmsd" + +run_rc_command $1 |