commandline_options
This commit is contained in:
1 parent
85003004cc
commit
28189cd1ce
4 files changed
+34
-1
No files matched your search
@@ -33,7 +33,11 @@ class SupervisorMaker
|
||||
}
|
||||
|
||||
$content = '[program:'.$process.']'.PHP_EOL;
|
||||
$content .= 'command=/usr/bin/php '.base_path().'/artisan nuh '.$supervisor->id.PHP_EOL;
|
||||
if ($supervisor->commandline_options) {
|
||||
$content .= 'command=/usr/bin/php '.base_path().'/artisan nuh '.$supervisor->id.' '.$supervisor->commandline_options.PHP_EOL;
|
||||
} else {
|
||||
$content .= 'command=/usr/bin/php '.base_path().'/artisan nuh '.$supervisor->id.PHP_EOL;
|
||||
}
|
||||
$content .= 'autostart=true'.PHP_EOL;
|
||||
$content .= 'autorestart=true'.PHP_EOL;
|
||||
|
||||
|
||||
Reference in new issue
Block a user