commandline_options wip
This commit is contained in:
1 parent
28189cd1ce
commit
0f6f4288c8
1 file changed
+1
-1
@@ -33,7 +33,7 @@ class SupervisorMaker
|
|||||||
}
|
}
|
||||||
|
|
||||||
$content = '[program:'.$process.']'.PHP_EOL;
|
$content = '[program:'.$process.']'.PHP_EOL;
|
||||||
if ($supervisor->commandline_options) {
|
if ($supervisor->commandline_options != '') {
|
||||||
$content .= 'command=/usr/bin/php '.base_path().'/artisan nuh '.$supervisor->id.' '.$supervisor->commandline_options.PHP_EOL;
|
$content .= 'command=/usr/bin/php '.base_path().'/artisan nuh '.$supervisor->id.' '.$supervisor->commandline_options.PHP_EOL;
|
||||||
} else {
|
} else {
|
||||||
$content .= 'command=/usr/bin/php '.base_path().'/artisan nuh '.$supervisor->id.PHP_EOL;
|
$content .= 'command=/usr/bin/php '.base_path().'/artisan nuh '.$supervisor->id.PHP_EOL;
|
||||||
|
|||||||
Reference in new issue
Block a user