I wrote an rc script for cfengine, but it's not recording the pid. Am I doing something obviously wrong, or does rc rely on the app to provide the pid? -- #!/bin/sh # # PROVIDE: cfexecd # REQUIRE: LOGIN # BEFORE: securelevel # KEYWORD: FreeBSD shutdown
. "/etc/rc.subr" name="cfexecd" rcvar=`set_rcvar` command="/usr/local/sbin/cfexecd" command_args="" pidfile="/var/run/$name.pid" #required_files="/usr/local/etc/$name.conf" # read configuration and set defaults load_rc_config "$name" : ${cfexecd_enable="NO"} : ${cfexecd_flags=""} run_rc_command "$1" -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"