Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | daemon: added daemonize_init(), daemonize_finish() | Max Kellermann | 2009-01-18 | 1 | -6/+6 |
| | | | | | | The constructor/destructor functions parse and free the configuration properly. This way, we don't have to load the pid file path more than once. | ||||
* | main: moved code to daemon.c | Max Kellermann | 2009-01-18 | 1 | -0/+19 |
| | | | | | Moved changeToUser(), cleanUpPidFile(), killFromPidFile() to daemon.c. These are daemonization functions. | ||||
* | listen: moved redirect_stdin() to daemon.c | Max Kellermann | 2008-12-30 | 1 | -0/+6 |
| | | | | | redirect_stdin() is a daemonization function, and disconnecting from the standard input is always a good idea for MPD. | ||||
* | main: moved daemonize() to daemon.c | Max Kellermann | 2008-12-30 | 1 | -0/+27 |