Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / spreadlogd / files / spreadlogd.sh
blobafb02e7b5d7b573311168c3c2947d16385dc482e
1 #!@RCD_SCRIPTS_SHELL@
3 # PROVIDE: spreadlogd
4 # REQUIRE: DAEMON
6 # To start spreadlogd at startup, copy this script to /etc/rc.d and set
7 # spreadlogd=YES in /etc/rc.conf.
9 # Addtionally you may set spread_log to a file where to log stuff.
11 if [ -f /etc/rc.subr ]; then
12 . /etc/rc.subr
15 rcd_dir=`@DIRNAME@ $0`
17 name="spreadlogd"
18 rcvar=$name
19 command="@PREFIX@/sbin/${name}"
20 sig_stop=INT
22 required_files="@PKG_SYSCONFDIR@/spreadlogd.conf"
24 command_args=""
26 load_rc_config $name
27 run_rc_command "$1"