head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2001.09.03.20.46.24;	author woodchip;	state dead;
branches;
next	1.1;

1.1
date	2001.07.11.21.21.05;	author jerry;	state Exp;
branches;
next	;


desc
@@


1.2
log
@hmm will have to reinvestigate this mkdir /etc/fcron thingy
@
text
@#!/bin/sh
#RCUPDATE:2 3 4:80:This line is required for script management

. /etc/rc.d/config/functions

SERVICE=fcron
opts="start stop restart"

PIDFILE=/var/run/fcron.pid
EXE=/usr/sbin/fcron

start() {
    ebegin "Starting $SERVICE..."
    start-stop-daemon --start --quiet --exec $EXE
    eend $? "Started $SERVICE." "Error Starting $SERVICE."
}

stop() {
    ebegin "Stopping $SERVICE..."
    start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE
    eend $? "Stopped $SERVICE." "Error Stopping $SERVICE."
}

restart() {
    stop
    start
}

doservice ${@@}
@


1.1
log
@Start/Stop script for fcron.
Missed it in the previous commit.
@
text
@@

