diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-03-09 03:13:33 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-03-09 03:13:33 +0000 |
commit | 4c7c6ca4a659519494af941af5adb90f8b01317a (patch) | |
tree | 0301a5a80f34fab059c15d4cca39938d8dca2833 /src/conf.c | |
parent | a849136820badac142c299abfc8cfe65fbd64896 (diff) | |
download | mpd-4c7c6ca4a659519494af941af5adb90f8b01317a.tar.gz mpd-4c7c6ca4a659519494af941af5adb90f8b01317a.tar.xz mpd-4c7c6ca4a659519494af941af5adb90f8b01317a.zip |
*) add support for pid files
*) we now require pid_file to specified in the config
*) new prefered method for killing mpd: mpd --kill
*) cleaned up some nastiness with decode_pid handling
git-svn-id: https://svn.musicpd.org/mpd/trunk@3042 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/conf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c index 2d5bcc5a4..18d6c16fb 100644 --- a/src/conf.c +++ b/src/conf.c @@ -116,6 +116,7 @@ void initConf() { configEntriesList = makeList((ListFreeDataFunc *)freeConfigEntry, 1); registerConfigParam(CONF_PORT, 0, 0); + registerConfigParam(CONF_PID_FILE, 0, 0); registerConfigParam(CONF_MUSIC_DIR, 0, 0); registerConfigParam(CONF_PLAYLIST_DIR, 0, 0); registerConfigParam(CONF_LOG_FILE, 0, 0); |