137 @"--cd", directoryPath, |
137 @"--cd", directoryPath, |
138 @"--daemon", |
138 @"--daemon", |
139 @"--management-hold", |
139 @"--management-hold", |
140 @"--management", @"127.0.0.1", [NSString stringWithFormat:@"%d", port], |
140 @"--management", @"127.0.0.1", [NSString stringWithFormat:@"%d", port], |
141 @"--config", configPath, |
141 @"--config", configPath, |
142 @"--script-security", @"2", // allow us to call the up and down scripts or scripts defined in config |
|
143 nil |
142 nil |
144 ]; |
143 ]; |
145 |
144 |
146 // conditionally push additional arguments to array |
145 // conditionally push additional arguments to array |
147 if(useScripts) { |
146 if(useScripts) { |