2002-09-27 16:47:06 +02:00
|
|
|
#!@RCD_SCRIPTS_SHELL@
|
2002-09-20 06:05:45 +02:00
|
|
|
#
|
2003-02-22 14:33:31 +01:00
|
|
|
# $NetBSD: xfstt.sh,v 1.5 2003/02/22 13:33:31 salo Exp $
|
2002-09-20 06:05:45 +02:00
|
|
|
#
|
2002-09-27 16:47:06 +02:00
|
|
|
# PROVIDE: xfstt
|
|
|
|
# REQUIRE: DAEMON
|
2001-02-18 05:37:37 +01:00
|
|
|
|
2002-09-27 16:47:06 +02:00
|
|
|
. /etc/rc.subr
|
2001-02-18 05:37:37 +01:00
|
|
|
|
2002-09-27 16:47:06 +02:00
|
|
|
name="xfstt"
|
2003-02-22 14:33:31 +01:00
|
|
|
rcvar=$name
|
2002-09-27 16:47:06 +02:00
|
|
|
command="@PREFIX@/bin/${name}"
|
2002-09-29 14:58:37 +02:00
|
|
|
command_args="--user nobody --notcp --daemon"
|
2002-09-27 16:47:06 +02:00
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
start_precmd="${command} --sync >/dev/null"
|
2001-02-18 05:37:37 +01:00
|
|
|
|
2002-09-27 16:47:06 +02:00
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|