parent
9d3ca94b87
commit
cfc2115bed
|
|
@ -111,14 +111,14 @@ class UpdateCard extends Component
|
||||||
|
|
||||||
if ($this->rc === 0 && !$this->postActionsDone) {
|
if ($this->rc === 0 && !$this->postActionsDone) {
|
||||||
// Dienste neu starten (asynchron)
|
// Dienste neu starten (asynchron)
|
||||||
@shell_exec('nohup php /var/www/mailwolt/artisan mailwolt:restart-services >/dev/null 2>&1 &');
|
// @shell_exec('nohup php /var/www/mailwolt/artisan mailwolt:restart-services >/dev/null 2>&1 &');
|
||||||
@shell_exec('nohup php /var/www/mailwolt/artisan settings:sync >/dev/null 2>&1 &');
|
@shell_exec('nohup php /var/www/mailwolt/artisan settings:sync >/dev/null 2>&1 &');
|
||||||
@shell_exec('nohup php /var/www/mailwolt/artisan spamav:collect >/dev/null 2>&1 &');
|
@shell_exec('nohup php /var/www/mailwolt/artisan spamav:collect >/dev/null 2>&1 &');
|
||||||
$this->postActionsDone = true;
|
$this->postActionsDone = true;
|
||||||
|
|
||||||
$ver = $this->displayCurrent ?? 'aktuelle Version';
|
$ver = $this->displayCurrent ?? 'aktuelle Version';
|
||||||
$this->progressLine = 'Update abgeschlossen: ' . $ver;
|
$this->progressLine = 'Update abgeschlossen: ' . $ver;
|
||||||
$this->dispatch('reload-page', delay: 5000);
|
// $this->dispatch('reload-page', delay: 5000);
|
||||||
$this->dispatch('toast',
|
$this->dispatch('toast',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
title: 'Update erfolgreich',
|
title: 'Update erfolgreich',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue