Bug#605507: your mail
d+deb at vdr.jp
d+deb at vdr.jp
Mon Dec 20 03:26:59 UTC 2010
On Fri, Dec 17, 2010 at 04:35:33PM +0100, Julien Cristau wrote:
> > @@ -45,6 +45,9 @@
> > # Tightened permissions for the config file
> > chmod -R ug=rw,o=,ug+X /etc/icecast2/icecast.xml
> >
> > +# avoid to fail on invoke-rc.d icecast2 start when upgrading see Bug#605507
> > +sleep 3
> > +
>
> What is this supposed to achieve?
When upgrading icecast2, stop (in prerm) and start (in postinst) process.
In some case, icecast2 gets signal and stops after a while.
If icecast2 process still exists, start fails.
So it waits for process really stopping.
Old icecast2's init does not have "--retry TERM/5/0/30" option,
so I put "sleep 3" in postinst for upgrading icecast2.
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20101220/21eb4903/attachment-0001.pgp>
More information about the pkg-multimedia-maintainers
mailing list