Added support for sendmail service reload
Resolves: rhbz#1618552
This commit is contained in:
parent
8ce589ebf2
commit
c985dea1a1
@ -13,6 +13,9 @@ EnvironmentFile=-/etc/sysconfig/sendmail
|
|||||||
ExecStartPre=-/etc/mail/make
|
ExecStartPre=-/etc/mail/make
|
||||||
ExecStartPre=-/etc/mail/make aliases
|
ExecStartPre=-/etc/mail/make aliases
|
||||||
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
|
ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG
|
||||||
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||||
|
# hack to allow async reload to complete, otherwise systemd may signal error
|
||||||
|
ExecReload=/usr/bin/sleep 2
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
Summary: A widely used Mail Transport Agent (MTA)
|
Summary: A widely used Mail Transport Agent (MTA)
|
||||||
Name: sendmail
|
Name: sendmail
|
||||||
Version: 8.15.2
|
Version: 8.15.2
|
||||||
Release: 30%{?dist}
|
Release: 31%{?dist}
|
||||||
License: Sendmail
|
License: Sendmail
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.sendmail.org/
|
URL: http://www.sendmail.org/
|
||||||
@ -749,6 +749,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 29 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-31
|
||||||
|
- Added support for sendmail service reload
|
||||||
|
Resolves: rhbz#1618552
|
||||||
|
|
||||||
* Mon Aug 20 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-30
|
* Mon Aug 20 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-30
|
||||||
- Fixed sendmail.pem unsafe: Group readable file
|
- Fixed sendmail.pem unsafe: Group readable file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user