mpd/src
Max Kellermann a4e4217204 Main: ignore the "pid_file" setting if started as systemd service
Commit 552c30eae caused problems for those people who still had a
"pid_file" setting (even though that is obsolete with systemd),
because now /run/mpd is owned by root:root (our mpd.service has no
User=mpd directive, so systemd starts MPD as root).

To work around this problem, and to be able to keep
RuntimeDirectory=mpd (which solved a problem of other MPD users), the
best compromise seems to just ignore the "pid_file" setting when it is
of no use.
2021-11-05 09:02:56 +01:00
..
AudioCompress audio_{parser,config}: convert to C++ 2013-01-30 21:47:12 +01:00
android java/GlobalRef: remove method Set(), always require initialization 2021-08-28 08:08:30 +02:00
apple apple/AudioUnit: add AudioUnitSetPropertyT() 2020-07-02 14:59:40 +02:00
archive archive/{zzip,iso9660}: ignore file names which are invalid UTF-8 2021-10-13 15:51:08 +02:00
client protocol/Result: convert to Client method 2021-10-22 11:55:39 +02:00
command db/update/Walk: use GetFilenameSuffix() instead of uri_get_suffix() 2021-10-31 13:18:24 +01:00
config config/Path: use StringView::Split() 2021-10-26 12:55:01 +02:00
db db/update/Walk: use GetFilenameSuffix() instead of uri_get_suffix() 2021-10-31 13:18:24 +01:00
decoder db/update/Walk: use GetFilenameSuffix() instead of uri_get_suffix() 2021-10-31 13:18:24 +01:00
encoder decoder/mad, ...: more libfmt logging 2021-06-25 20:52:08 +02:00
event event/Loop: destruct the Uring::Manager in the destructor before assert() 2021-11-03 18:32:14 +01:00
filter filter/ReplayGain: emit "mixer" event when replay gain changes volume 2021-10-19 10:03:21 +02:00
fs fs/StandardDirectory: use the RUNTIME_DIRECTORY environment variable 2021-10-26 09:30:16 +02:00
haiku Haiku: add version info to the resources like win32 does 2019-03-29 14:33:27 +01:00
input lib/alsa/Error: a std::system_error category for libasound errors 2021-11-04 14:59:00 +01:00
io Merge branch 'v0.22.x' 2021-03-10 21:06:12 +01:00
java more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
lib lib/alsa/HwSetup: add missing include 2021-11-04 17:55:15 +01:00
mixer lib/alsa/Error: a std::system_error category for libasound errors 2021-11-04 14:59:00 +01:00
neighbor neighbor/Glue: remove unreachable "throw" statement 2021-10-19 13:40:11 +02:00
net Permission: add option "host_permissions" 2021-10-14 14:44:18 +02:00
output output/alsa: add option thesycon_dsd_workaround 2021-11-04 17:55:53 +01:00
pcm command/player, ...: use decimal notation 2021-10-18 16:54:53 +02:00
player player/CrossFade: fix inverted check and wrong variable 2021-10-22 11:49:38 +02:00
playlist meson.build: add missing libfmt dependencies 2021-10-15 14:26:59 +02:00
protocol protocol/Result: convert to Client method 2021-10-22 11:55:39 +02:00
queue command/QueueCommands: reimplement relative "move"/"moveid" offsets 2021-10-07 22:49:38 +02:00
song more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
sticker sticker/SongSticker: use AllocatedString for concatenation 2021-10-13 12:19:45 +02:00
storage meson.build: add missing libfmt dependencies 2021-10-15 14:26:59 +02:00
system system/FatalError: remove obsolete library 2021-10-13 16:53:01 +02:00
tag tag/FixString: use class AllocatedArray 2021-10-13 14:40:33 +02:00
thread more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
time remove std::make_pair 2021-09-07 21:13:22 -07:00
unix more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
util util/Alloc: remove unused library 2021-10-13 14:48:16 +02:00
win32 win32/Win32Main: throw on error 2021-10-13 16:37:56 +02:00
zeroconf meson.build: log_dep is only needed internally 2021-10-23 12:08:43 +02:00
BulkEdit.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Chrono.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
CommandLine.cxx CommandLine: rename struct options 2021-11-05 08:57:12 +01:00
CommandLine.hxx CommandLine: rename struct options 2021-11-05 08:57:12 +01:00
GitVersion.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
GitVersion.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
IcyMetaDataParser.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
IcyMetaDataParser.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Idle.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
Idle.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
IdleFlags.cxx constexpr/std::array conversions 2021-08-16 21:05:56 -07:00
IdleFlags.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
Instance.cxx db/update/InotifyUpdate: convert to class, no global variables 2021-10-13 18:47:56 +02:00
Instance.hxx db/update/InotifyUpdate: convert to class, no global variables 2021-10-13 18:47:56 +02:00
Listen.cxx fs/StandardDirectory: add GetAppRuntimeDir() 2021-10-26 09:30:16 +02:00
Listen.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
LocateUri.cxx LocateUri: implement UriPluginKind::STORAGE properly 2021-10-06 20:36:39 +02:00
LocateUri.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Log.cxx Log: remove the obsolete printf-style functions 2021-10-13 17:41:19 +02:00
Log.hxx Log: remove the obsolete printf-style functions 2021-10-13 17:41:19 +02:00
LogBackend.cxx LogBackend: pass std::string_view to Log() 2021-06-24 13:43:13 +02:00
LogBackend.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
LogInit.cxx decoder/mad, ...: more libfmt logging 2021-06-25 20:52:08 +02:00
LogInit.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
LogLevel.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Main.cxx Main: ignore the "pid_file" setting if started as systemd service 2021-11-05 09:02:56 +01:00
Main.hxx Main: move top-level exception handler to main() 2021-10-13 16:37:34 +02:00
Mapper.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
Mapper.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
MixRampInfo.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
MusicBuffer.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicBuffer.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
MusicChunk.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicChunk.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
MusicChunkPtr.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicChunkPtr.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicPipe.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
MusicPipe.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
Partition.cxx Partition, ...: use libfmt for logging 2021-06-24 21:40:11 +02:00
Partition.hxx command/QueueCommands: reimplement relative "move"/"moveid" offsets 2021-10-07 22:49:38 +02:00
Permission.cxx Permission: use StringView::Split() 2021-10-26 12:25:47 +02:00
Permission.hxx Permission: refactor getPermissionFromPassword() to return std::optional 2021-10-17 19:58:50 +02:00
PlaylistDatabase.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistDatabase.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistError.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistError.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistFile.cxx command/playlist: allow range in playlistdelete 2021-10-25 12:23:37 +02:00
PlaylistFile.hxx command/playlist: allow range in playlistdelete 2021-10-25 12:23:37 +02:00
PlaylistPrint.cxx queue/PlaylistEdit: convert start/end parameters to RangeArg 2021-02-15 22:51:09 +01:00
PlaylistPrint.hxx queue/PlaylistEdit: convert start/end parameters to RangeArg 2021-02-15 22:51:09 +01:00
PlaylistSave.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
PlaylistSave.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
PluginUnavailable.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
RemoteTagCache.cxx Log: remove the obsolete printf-style functions 2021-10-13 17:41:19 +02:00
RemoteTagCache.hxx RemoteTagCache: use [[gnu::pure]] 2021-10-13 10:31:51 +02:00
RemoteTagCacheHandler.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainConfig.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainGlobal.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainGlobal.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainInfo.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
ReplayGainInfo.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
ReplayGainMode.cxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
ReplayGainMode.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
SingleMode.cxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
SingleMode.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
SongLoader.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
SongLoader.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
SongPrint.cxx command/player, ...: use decimal notation 2021-10-18 16:54:53 +02:00
SongPrint.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
SongSave.cxx song/DetachedSong: copy the AudioFormat from LightSong 2021-02-18 22:16:11 +01:00
SongSave.hxx song/DetachedSong: copy the AudioFormat from LightSong 2021-02-18 22:16:11 +01:00
SongUpdate.cxx song/DetachedSong: copy the AudioFormat from LightSong 2021-02-18 22:16:11 +01:00
StateFile.cxx Partition, ...: use libfmt for logging 2021-06-24 21:40:11 +02:00
StateFile.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
StateFileConfig.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
StateFileConfig.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Stats.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
Stats.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagAny.cxx TagAny: invoke ScanGenericTags() on remote files 2021-06-23 20:49:30 +02:00
TagAny.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagArchive.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagArchive.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagFile.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagFile.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagPrint.cxx command/player, ...: use decimal notation 2021-10-18 16:54:53 +02:00
TagPrint.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagSave.cxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagSave.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TagStream.cxx Merge branch 'v0.22.x' 2021-01-01 19:59:15 +01:00
TagStream.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
TimePrint.cxx protocol/ArgParser: add function MakeArgError() 2021-05-27 16:01:44 +02:00
TimePrint.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
ls.cxx client/Response: add method Fmt() based on libfmt 2021-05-25 16:01:56 +02:00
ls.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00
open.h copyright year 2021 2021-01-01 19:54:28 +01:00