[ic] execute upon restart

Mike Heins interchange-users@interchange.redhat.com
Mon Aug 20 23:31:00 2001


Quoting chaim klar (hershey135@hotmail.com):
> I have some scripts that I would like to have executed automatically upon 
> restart of interchange. Are there any hooks in interchange where this can be 
> plugged in? If not is there any way I can force interchange to modify a file 
> upon a successful restart so that the change can be detected by a cron job?
> 
> Your help will be greatly appreciated.

No direct way, but you can write a module which does what you want and
then in interchange.cfg do:

Require YourModule

When the module is required, any code that is part of the initialization
will be run, of course, as with any Perl module.

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

"Laughter is inner jogging." -- Norman Cousins