Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81938 - Kill using hangup for proper state saving
Summary: Kill using hangup for proper state saving
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Brian Harring (RETIRED)
URL: http://musicpd.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 18:08 UTC by Avuton Olrich
Modified: 2005-02-13 18:20 UTC (History)
1 user (show)

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


Attachments
Patch to /etc/init.d/mpd (start-stop-daemon-hup.patch,361 bytes, patch)
2005-02-13 18:09 UTC, Avuton Olrich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Avuton Olrich 2005-02-13 18:08:22 UTC
MPD should be killed using hangup (HUP) in the start-stop-daemon so the state_file if not killed with HUP it is sometimes unreliable what state it will save. Easy way to do this is just to simply add '--signal 1' to the init file in the stop function.
Comment 1 Avuton Olrich 2005-02-13 18:09:32 UTC
Created attachment 51173 [details, diff]
Patch to /etc/init.d/mpd
Comment 2 Avuton Olrich 2005-02-13 18:20:08 UTC
mpd author telling me I'm wrong, will refile if I'm right