linux-l: SysV scheiße, daemontools gut (Was: linux-l: Mutt problem -> unset force_name save_name)
Robin S. Socha
rsocha at kens.com
Mo Nov 6 11:35:22 CET 2000
* Steffen Dettmer <steffen at dett.de> [001106 04:35]:
> * Mario Thaten wrote on Sun, Nov 05, 2000 at 11:21 +0100:
> > PS: Koennte mir bitte jemand verraten, wie ich mit einem Kommando
> > die komplette Mailqueue von Qmail ueber die gluecklichen Empfaenger
> > auskippen kann? (sowas wie sendmail -q)
>
> Mein qmailrc macht das so:
> send)
> echo "sending ALRM: trying to resend the queue NOW."
> killall -ALRM qmail-send \
> || ( echo "--> ERROR: trying to restart!" ; \
> $0 restart )
> ;;
>
> Also einfach SIGALRM senden.
/Wenn/ Dein script das kann. Ich persönlich finde diese scripts *extrem*
lästig (und das schließt das logging ein). Alternativ:
(root at testball):(/service)# cat /service/qmail/run
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ /usr/local/bin/multilog t /var/log/qmail qmail
und anschließend ein svc -a /service/qmail - das war es dann. Alle tools
gibt es auf http://cr.yp.to/.
--
Robin S. Socha (RSS110-RIPE) http://socha.net/
"If you are too low a lifeform to be able to learn how to use the
manual page subsystem, why should we help you?" (Theo de Raadt)
Mehr Informationen über die Mailingliste linux-l