mpd/src
Max Kellermann c83ab0dc58 unix/SignalHandlers: shut down if parent process dies in --no-daemon mode
By default, if the parent of a process dies, the process gets SIGHUP
and is supposed to shut down.  This however doesn't work for MPD,
because MPD redefines SIGHUP with a different meaning (like most
daemons do).

To work around this, we configure the kernel to send SIGTERM instead
of SIGHUP.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1706
2023-03-06 13:00:07 +01:00
..
android release v0.23.10 2022-10-14 23:56:33 +02:00
apple remove obsolete Boost dependency 2023-01-23 15:06:58 +01:00
archive lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
client Log, client/Response, io/BufferedOutputStream: remove unnecessary libfmt include 2022-11-28 20:44:48 +01:00
cmdline lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
command command/playlist: allow range in "playlistmove" 2023-03-06 12:01:45 +01:00
config lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
db remove obsolete Boost dependency 2023-01-23 15:06:58 +01:00
decoder Decoder/FluidSynth: Allow gain to be adjusted 2023-02-01 12:00:19 -05:00
encoder lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
event event/Loop: remove unnecessary include 2023-01-31 13:04:25 +01:00
filter lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
fs release v0.23.12 2023-01-17 18:58:04 +01:00
input input/async: check for errors in Seek() 2023-01-28 07:44:59 +01:00
io io/BufferedReader: add missing include 2023-03-05 08:43:41 +01:00
java release v0.23.10 2022-10-14 23:56:33 +02:00
lib output/jack: remove DLL support 2023-03-06 08:10:00 +01:00
mixer oss: Remove use of the soundcard.h header, OpenBSD no longer uses OSS 2023-02-03 18:38:20 -05:00
neighbor neighbor/meson.build: add missing dependency on libfmt 2022-12-01 15:57:28 +01:00
net net/SocketAddress: remove __cpp_lib_span checks 2023-03-05 08:41:33 +01:00
output Merge branch 'pipewire-lock' of https://github.com/ncfavier/MPD 2023-03-06 10:06:03 +01:00
pcm lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
player player/Control: Change idle events from global to partition scope 2022-08-28 11:33:14 +02:00
playlist Merge branch 'iss-1546' of https://github.com/sp1ff/MPD 2022-12-29 08:37:25 +01:00
protocol Copyright year 2022 2022-07-14 17:59:35 +02:00
queue Cast enum to unsigned 2022-09-20 20:27:25 +02:00
song lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
sticker Copyright year 2022 2022-07-14 17:59:35 +02:00
storage storage/meson.build: move MemoryDirectoryReader.cxx to storage_api.a 2023-01-29 08:21:58 +01:00
system system/FmtError: move to lib/fmt/ 2022-11-28 23:09:27 +01:00
tag Merge branch 'master' of https://github.com/faceless2/MPD 2023-01-17 19:03:49 +01:00
thread thread/Thread, fs: add missing WIN32 includes 2022-11-28 21:56:11 +01:00
time release v0.23.10 2022-10-14 23:56:33 +02:00
unix unix/SignalHandlers: shut down if parent process dies in --no-daemon mode 2023-03-06 13:00:07 +01:00
util util/IntrusiveHashSet: add unlink(), is_linked() 2023-01-31 13:07:26 +01:00
win32 win32/HResult: use [[gnu::const]] 2023-01-23 15:35:36 +01:00
zeroconf lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
BulkEdit.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Chrono.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
CommandLine.cxx CommandLine: hard-code daemon=false if ENABLE_DAEMON is not set 2023-03-06 13:00:06 +01:00
CommandLine.hxx CommandLine: hard-code daemon=false if ENABLE_DAEMON is not set 2023-03-06 13:00:06 +01:00
ConsumeMode.cxx Add ConsumeMode oneshot, closes #925 2022-09-20 20:26:49 +02:00
ConsumeMode.hxx Add ConsumeMode oneshot, closes #925 2022-09-20 20:26:49 +02:00
GitVersion.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
GitVersion.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Idle.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Idle.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
IdleFlags.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
IdleFlags.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Instance.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Instance.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Listen.cxx lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
Listen.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
LocateUri.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
LocateUri.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Log.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Log.hxx Log, client/Response, io/BufferedOutputStream: remove unnecessary libfmt include 2022-11-28 20:44:48 +01:00
LogBackend.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
LogBackend.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
LogInit.cxx lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
LogInit.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
LogLevel.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
ls.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
ls.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Main.cxx unix/SignalHandlers: shut down if parent process dies in --no-daemon mode 2023-03-06 13:00:07 +01:00
Main.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Mapper.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Mapper.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicBuffer.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicBuffer.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicChunk.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicChunk.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicChunkPtr.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicChunkPtr.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicPipe.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
MusicPipe.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
open.h Copyright year 2022 2022-07-14 17:59:35 +02:00
Partition.cxx Merge remote-tracking branch 'jcorporation/idle' 2022-09-20 15:11:41 +02:00
Partition.hxx client/List: use IntrusiveList instead of boost::intrusive::list 2022-11-10 11:08:11 +01:00
Permission.cxx lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
Permission.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
PlaylistDatabase.cxx lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
PlaylistDatabase.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
PlaylistError.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
PlaylistError.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
PlaylistFile.cxx command/playlist: allow range in "playlistmove" 2023-03-06 12:01:45 +01:00
PlaylistFile.hxx command/playlist: allow range in "playlistmove" 2023-03-06 12:01:45 +01:00
PlaylistPrint.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
PlaylistPrint.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
PlaylistSave.cxx Added new optional argument MODE to command 'save' to be able to append or replace an existing playlist 2022-10-02 11:19:36 +03:00
PlaylistSave.hxx Added new optional argument MODE to command 'save' to be able to append or replace an existing playlist 2022-10-02 11:19:36 +03:00
PluginUnavailable.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
RemoteTagCache.cxx RemoteTagCache: use IntrusiveHashSet instead of boost::intrusive::unordered_set 2022-11-13 08:39:04 +01:00
RemoteTagCache.hxx Merge branch 'v0.23.x' 2023-01-06 08:12:38 +01:00
RemoteTagCacheHandler.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
ReplayGainMode.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
ReplayGainMode.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SingleMode.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SingleMode.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SongLoader.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SongLoader.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SongPrint.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SongPrint.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SongSave.cxx lib/fmt/RuntimeError: new library 2022-11-29 14:10:34 +01:00
SongSave.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
SongUpdate.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
StateFile.cxx Merge branch 'v0.23.x' 2022-08-08 23:46:22 +02:00
StateFile.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
StateFileConfig.cxx release v0.23.11 2022-11-28 17:00:38 +01:00
StateFileConfig.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Stats.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
Stats.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagAny.cxx TagAny: pass std::string_view to uri_has_scheme() 2022-08-09 11:43:35 +02:00
TagAny.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagArchive.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagArchive.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagFile.cxx fs/Path: rename GetSuffix() to GetExtension() 2022-07-14 18:12:00 +02:00
TagFile.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagPrint.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagPrint.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagSave.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagSave.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagStream.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TagStream.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TimePrint.cxx Copyright year 2022 2022-07-14 17:59:35 +02:00
TimePrint.hxx Copyright year 2022 2022-07-14 17:59:35 +02:00