Can fcron kill and restart itself?

Rob 'Feztaa' Park feztaa at
Tue Aug 6 22:02:51 PDT 2002

Alas! Cameron Thorne spake thus:
> I am writing a backup script for my LFS system.  I want the script
> started by fcron each night, but part of the script is that it
> switches to single user mode, does its backup and housekeeping, and
> switches back to runlevel 3.   In my current setup fcron isn't running
> in level 1.  Will the script continue to execute once started?  So the
> script would kill fcron and then come back and start it again.
> Will that pose any problems, or will the script die when fcron is
> killed (or at some other point in time)?

As far as I know, if fcron dies the script should be ok. If you're using
sysvinit, then your backup script shouldn't need to kill fcron.
Switching to runlevel 1 will close a bunch of daemons, and then
switching back to 3 will start them again.

Rob 'Feztaa' Park
A Riverside, California, health ordinance states that two persons may
not kiss each other without first wiping their lips with carbolized rosewater.
Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list