Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/ggated
- This file was added.
#!/bin/sh | |||||
# PROVIDE: ggated | |||||
# REQUIRE: NETWORKING | |||||
. /etc/rc.subr | |||||
name="ggated" | |||||
desc="GEOM Gate network daemon" | |||||
rcvar="ggated_enable" | |||||
command="/sbin/${name}" | |||||
pidfile="/var/run/${name}.pid" | |||||
load_rc_config $name | |||||
params="${ggated_params}" | |||||
config="${ggated_config:-/etc/gg.exports}" | |||||
required_files="${config}" | |||||
command_args="${params} ${config}" | |||||
run_rc_command "$1" |