Separates the PID and log directories of daemons

Summary: The Log and PID directory should be separable in the config file

Test Plan: Start the daemons, and check if the pid and log files are stored in directories that were specified in the config file.

Reviewers: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3149
This commit is contained in:
Marcel Beck
2012-08-04 10:27:57 +02:00
parent 7ea925d33c
commit 99e9a26192
3 changed files with 22 additions and 10 deletions

View File

@@ -225,7 +225,7 @@ function will_launch($control, $with_logs = true) {
echo "Staging launch...\n";
$control->pingConduit();
if ($with_logs) {
$log_dir = $control->getControlDirectory('log').'/daemons.log';
$log_dir = $control->getLogDirectory().'/daemons.log';
echo "NOTE: Logs will appear in '{$log_dir}'.\n\n";
}
}