aboutsummaryrefslogtreecommitdiffstats
path: root/src/Daemon.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move daemonization code to unix/Max Kellermann2014-01-241-268/+0
|
* Daemon: fork as early as possibleMax Kellermann2014-01-181-25/+76
| | | | | | | Keep the parent process around until MPD has finished initializing. This is important for libraries that are allergic to fork(), such as libupnp.
* Daemon: move code to class PidFileMax Kellermann2014-01-181-19/+5
|
* Daemon: don't use daemon(), always require fork()Max Kellermann2014-01-181-11/+0
| | | | | | Prepare for more advanced daemonization code, which will not work with daemon(). Let's just require fork(). Everybody who supports daemon() also supports fork().
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* Merge branch 'v0.18.x'Max Kellermann2013-12-291-8/+11
|\
| * daemon: no initgroups() when already running as the configured userMax Kellermann2013-12-291-1/+5
| | | | | | | | | | We can assume that initgroups() would be a no-op in that case, however initgroups() is not allowed for unprivileged users anyway.
| * Daemon: fix typo in commentMax Kellermann2013-12-291-1/+1
| |
| * Daemon: simplify nested "if"Max Kellermann2013-12-291-5/+4
| |
| * Daemon: fix typo in castMax Kellermann2013-12-291-1/+1
| |
* | Daemon: use strdup() instead of g_strdup()Max Kellermann2013-12-151-5/+3
| |
* | include cleanup using iwyuMax Kellermann2013-11-281-3/+0
|/
* fs/Path: rename to AllocatedPathMax Kellermann2013-10-171-4/+4
| | | | | | | The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object.
* Log: new logging library APIMax Kellermann2013-10-021-5/+6
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* Daemon, Mapper: move-assign the Path objectsMax Kellermann2013-10-011-1/+1
|
* ConfigPath: return a Path objectMax Kellermann2013-08-071-15/+22
| | | | | Migrate all callers to use Path directly, instead of doing the conversion in each caller.
* Makefile.am: move sources to libsystem.aMax Kellermann2013-08-071-1/+1
|
* FatalError: new library to replace mpd_error.hMax Kellermann2013-08-071-23/+23
|
* daemon: convert to C++Max Kellermann2013-08-071-0/+236