Bug#612629: initscript restart and stop actions should be idempotent
Chris Lamb
lamby at debian.org
Wed Feb 9 17:00:27 UTC 2011
Package: gearman-server
Version: 1.11-1
Tags: patch
Two issues here:
* `/etc/init.d/gearman-server stop` should be idempotent. Currently,
running it twice in a row results in:
rm: cannot remove `/var/run/gearmand.pid': No such file or directory
* `/etc/init.d/gearman-server restart` should start gearman if it is
not currently running.
Patch attached for both issues.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110209/46bd86fb/attachment.txt>
More information about the pkg-perl-maintainers
mailing list