mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-21 16:37:06 +00:00
Fix setup args.
This commit is contained in:
parent
660d64e22c
commit
c86bcdbdb9
|
@ -58,11 +58,15 @@ class SetupCommand extends CommandAbstract
|
|||
|
||||
$this->runCommand($output, 'azuracast:station-queues:clear');
|
||||
|
||||
$restartArgs = [];
|
||||
if ($this->environment->isDockerStandalone()) {
|
||||
$restartArgs[] = '--no-supervisor-restart';
|
||||
}
|
||||
|
||||
$this->runCommand(
|
||||
$output,
|
||||
$this->environment->isDockerStandalone()
|
||||
? 'azuracast:radio:restart --no-supervisor-restart'
|
||||
: 'azuracast:radio:restart'
|
||||
'azuracast:radio:restart',
|
||||
$restartArgs
|
||||
);
|
||||
|
||||
// Update system setting logging when updates were last run.
|
||||
|
|
Loading…
Reference in New Issue
Block a user