d9faeef8e6
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>
26 lines
446 B
Bash
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"
|