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:
		@@ -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";
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user