[main] Use ConfigManager to parse the --pid-file-path option.