parent
9d3ca94b87
commit
adea3c5275
|
|
@ -111,14 +111,14 @@ class UpdateCard extends Component
|
|||
|
||||
if ($this->rc === 0 && !$this->postActionsDone) {
|
||||
// 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 spamav:collect >/dev/null 2>&1 &');
|
||||
$this->postActionsDone = true;
|
||||
|
||||
$ver = $this->displayCurrent ?? 'aktuelle Version';
|
||||
$this->progressLine = 'Update abgeschlossen: ' . $ver;
|
||||
$this->dispatch('reload-page', delay: 5000);
|
||||
// $this->dispatch('reload-page', delay: 5000);
|
||||
$this->dispatch('toast',
|
||||
type: 'success',
|
||||
title: 'Update erfolgreich',
|
||||
|
|
|
|||
Loading…
Reference in New Issue