Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293222 - net-nntp/hellanzb init script does not shutdown the daemon
Summary: net-nntp/hellanzb init script does not shutdown the daemon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-14 23:38 UTC by Vladimir Brik
Modified: 2010-04-23 13:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/init.d/hellanzb stop() patch (hellanzb.patch,742 bytes, patch)
2009-11-14 23:42 UTC, Vladimir Brik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Brik 2009-11-14 23:38:01 UTC
start-stop-daemon in /etc/init.d/hellanzb does not shut down the hellanzb daemon.
Hellanzb daemon does not create a pid file and start-stop-daemon's --make-pidfile doesn't work when hellanzb is started as a daemon.
Comment 1 Vladimir Brik 2009-11-14 23:42:33 UTC
Created attachment 210280 [details, diff]
/etc/init.d/hellanzb stop() patch

This patch shuts down the hellanzb daemon by issuing it the "shutdown" command instead of using start-stop-daemon. Also, when restarted, the script sleeps for 1 second to allow old instance's socket to be relinquished
Comment 2 Alexis Ballier gentoo-dev 2010-04-23 13:46:58 UTC
applied, thanks