freebsd-ports/net/splatd/files/splatd.sh.in
Pav Lucistnik d9faeef8e6 Splat is a set of utilities designed to help keep information
in an LDAP directory in sync with information outside of an
LDAP directory. This information can be any set of attributes on
any object in the LDAP directory.

WWW: http://dpw.threerings.net/projects/splat/

PR:		ports/99287
Submitted by:	Nick Barkas <snb@threerings.net>
2006-06-23 08:51:02 +00:00

26 lines
446 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: splatd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
. %%RC_SUBR%%
name=splatd
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/splatd
command_interpreter="%%PYTHON_CMD%%"
command_args="-f %%PREFIX%%/etc/splat.conf -p /var/run/$name.pid"
pidfile="/var/run/$name.pid"
required_files=%%PREFIX%%/etc/splat.conf
# set default
splatd_enable=${splatd_enable:-"NO"}
load_rc_config $name
run_rc_command "$1"