automatic service restart
Marcel Ritter <[email protected]> Wed, 11 Aug 2004 08:57:22 +0200 (CEST)
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
Hi there! I'm running into a little trouble with newer apt-rpm releases: In old versions the rpm binary was called from within apt-get and could be replaced by a wrapper skript. I did this to cleanly shutdown updated services before the new package got installed and to restart them afterwards. This worked fine - newer releases use librpm functions to get rid of the extra "rpm" call. Unfortunately this breaks my wrapper skript approach. Can a similar behaviour be programmed in lua? Has perhaps anyone done so? Any hints how to start? TIA, Marcel ---- Dipl.-Inf. Marcel Ritter Linux Betreuer Regionales Rechenzentrum Erlangen ---- Unix _IS_ user friendly... It's just selective about who its friends are.