#!/bin/sh # $FreeBSD: head/x11/cde/files/dtcms.in 526065 2020-02-13 20:42:45Z crees $ # # 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