Automatic restart of otrs.Daemon.pl after Perl upgrade

Moderator: crythias

Post Reply
sergiy
Znuny newbie
Posts: 17
Joined: 28 Oct 2021, 18:39
Znuny Version: 6.5.3
Real Name: Sergiy
Location: Halifax, NS

Automatic restart of otrs.Daemon.pl after Perl upgrade

Post by sergiy »

I have experienced a few times over the years the situation when the Perl upgrade renders the running Znuny daemon (otrs.Daemon) dysfunctional until it is restarted.

For example, the most recent Rocky update from 8.7 to 8.8 (May 20) also updated Perl. As a result, while the Znuny daemon was running, `bin/otrs.Console.pl Maint::Email::MailQueue --send` was not successfully being executed and the messages piled up for a few hours until it was noticed. Restarting the daemon fixed the issue.

I wonder if somebody has implemented a mechanism that would trigger a Daemon restart if Perl got updated?
Post Reply