4
0
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:
Buster "Silver Eagle" Neece 2022-03-15 03:58:47 -05:00
parent 660d64e22c
commit c86bcdbdb9
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109

View File

@ -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.