20 #ifndef MPD_DAEMON_HXX 21 #define MPD_DAEMON_HXX 31 { (void)user; (void)
group; (void)pidfile; }
55 FatalError(
"--kill is not available on WIN32");
A path name in the native file system character set.
void daemonize_begin(bool detach)
void daemonize_close_stdin()
Close stdin (fd 0) and re-open it as /dev/null.
void daemonize_set_user()
Change to the configured Unix user.
void daemonize_init(const char *user, const char *group, AllocatedPath &&pidfile)
void daemonize_kill()
Kill the MPD which is currently running, pid determined from the pid file.
const Partition const char const SongFilter TagType group
gcc_noreturn void FatalError(const char *msg)
Log the specified message and abort the process.