[pkg-fetchmail-maint] Bug#488085: Bug#488085: /etc/init.d/fetchmail try-restart should be able to not start fetchmail if it is not running
Nico Golde
nion at debian.org
Tue Jul 1 20:45:09 UTC 2008
Hi florian,
* florian kriener <debian-bugs at leflo.de> [2008-06-29 16:53]:
> I'm using DHCP here on my computer and the client for DHCP
> starts fetchmail when my computer got a response. The
> problem is that with that fetchmail is started before
> postfix and spamd, which is not only ugly but leads to at
> least one uncheckt spammail per boot.
Why don't you reorder your runlevels symlinks then?
> So I investigated
> that problem and found try-restart behaving like it does,
> starting the daemon if it is not running already (which,
> in my opinion, is not intuitive).
it's restarting the daemon or starting it if it's not yet
running.
> And so it came to this
> wishlist item.
>
> To lessen the pain (if you should recon this item), I already made that small change:
I am not too happy about including this patch for this
corner-case. The init scripts in Debian include an LSB
header that defines dependencies on other init scripts (well
facilities to be precise). Did you already have a look at
the insserv package which automatically reorders your init
scripts based on these dependencies.
This might be the right solution for you.
Kind regards
Nico
--
Nico Golde - http://www.ngolde.de - nion at jabber.ccc.de - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fetchmail-maint/attachments/20080701/dddee123/attachment.pgp
More information about the pkg-fetchmail-maint
mailing list