Re: Restarting

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nigel Metheringham
Dátum:  
Címzett: Jawaid Bazyar
CC: exim-users
Tárgy: Re: Restarting
} After restarting exim many times the hard way, I decided to write the
} following:
}
} #!/bin/sh
} kill -HUP `cat /usr/exim/spool/exim-daemon.pid`
}
} I call it exirestart, and think it would make a great addition to the
} exim/bin directory, assuming I'm not brain-dead and missed something like
} that that's already there :)

I do this by having the init script - /etc/rc.d/init.d/exim.init -
have a reconfig option which does pretty much that!

It would be nice if I could shove the pid file elsewhere without
major fiddling (ie config options). On linux (at least this version)
pretty much everything leaves a pid in /var/run/<progname>.pid - exim
is a nasty exception to this rule (in fact I may source mod it for
our systems).

    Nigel.


-- 
[ Nigel.Metheringham@???   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House          Tel : +44 113 251 6012 ]
[ Melbourne Street, Leeds LS2 7PS UK.      Fax : +44 113 2345656  ]
[[[ Welcome to Grace, arrived 01:37 BST, 18 Sept 1996, 5lb 15oz ]]]