done in commit 57fb85e2a1dc50618179b79901563bab502169da

On Mon, Feb 15, 2021 at 12:33 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

if this should be backported to branch 5.4, you can do it now if you
want to be part of 5.4.4.

Cheers,
Daniel

On 15.02.21 09:10, Sergey Safarov wrote:
> Module: kamailio
> Branch: master
> Commit: 9a35a5b95e8144dbdb18003f40e49e5b497274f3
> URL: https://github.com/kamailio/kamailio/commit/9a35a5b95e8144dbdb18003f40e49e5b497274f3
>
> Author: Sergey Safarov <s.safarov@gmail.com>
> Committer: Sergey Safarov <s.safarov@gmail.com>
> Date: 2021-02-15T11:10:24+03:00
>
> pkg/kamailio/obs: added --atexit=no into systemd unit file [skip ci]
>
> ---
>
> Modified: pkg/kamailio/obs/kamailio.spec
>
> ---
>
> Diff:  https://github.com/kamailio/kamailio/commit/9a35a5b95e8144dbdb18003f40e49e5b497274f3.diff
> Patch: https://github.com/kamailio/kamailio/commit/9a35a5b95e8144dbdb18003f40e49e5b497274f3.patch
>
> ---
>
> diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
> index 999422a746..0c0170d100 100644
> --- a/pkg/kamailio/obs/kamailio.spec
> +++ b/pkg/kamailio/obs/kamailio.spec
> @@ -1119,6 +1119,12 @@ UUID module for Kamailio.
>  sed -i -e 's/python3/python2/' utils/kamctl/dbtextdb/dbtextdb.py
>  %endif

> +# on latest dist need to add --atexit=no for Kamailio options. More details GH #2616
> +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
> +sed -i -e 's|/usr/sbin/kamailio|/usr/sbin/kamailio --atexit=no|' pkg/kamailio/obs/kamailio.service
> +%endif
> +
> +
>  %build
>  ln -s ../obs pkg/kamailio/%{dist_name}/%{dist_version}
>  %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} == 8
>
>
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla