Skip to content

Commit

Permalink
pkg/kamailio/obs: added --atexit=no into systemd unit file [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-safarov committed Feb 15, 2021
1 parent 5064ffc commit 9a35a5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/kamailio/obs/kamailio.spec
Expand Up @@ -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
Expand Down

0 comments on commit 9a35a5b

Please sign in to comment.