initial import
This commit is contained in:
23
initrc/filerd
Normal file
23
initrc/filerd
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# PROVIDE: filerd
|
||||
# REQUIRE: DAEMON
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="filerd"
|
||||
rcvar="filerd_enable"
|
||||
|
||||
pidfile="/home/ziggi/projects/filer/tmp.run"/filerd.pid
|
||||
command="/usr/local/sbin/${name}"
|
||||
command_args="-daemon"
|
||||
procname="/usr/local/sbin/${name}"
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
: ${filerd_enable:="NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
#EOF
|
||||
Reference in New Issue
Block a user