diff --git a/python-mailman.changes b/python-mailman.changes index 1030488..11abb0e 100644 --- a/python-mailman.changes +++ b/python-mailman.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 15 08:57:37 UTC 2020 - Andreas Schneider + +- Add missing services and timers to systemd + ------------------------------------------------------------------- Sat Nov 28 17:49:08 UTC 2020 - Michael Ströder diff --git a/python-mailman.spec b/python-mailman.spec index 421b104..a3d0992 100644 --- a/python-mailman.spec +++ b/python-mailman.spec @@ -209,20 +209,28 @@ getent passwd %{mailman_user} >/dev/null || \ %{_sbindir}/useradd -r -g %{mailman_group} -s /sbin/nologin \ -c "mailman daemon user" -d %{mailman_homedir} %{mailman_user} %{_sbindir}/usermod -g %{mailman_group} %{mailman_user} >/dev/null -%service_add_pre %{mailman_name}.service +%service_add_pre %{mailman_name}.service \ + %{mailman_name}-digest.service \ + %{mailman_name}-digest.timer %post %python_install_alternative master %python_install_alternative mailman %python_install_alternative runner %tmpfiles_create %{_tmpfilesdir}/%{mailman_name}.conf -%service_add_post %{mailman_name}.service +%service_add_post %{mailman_name}.service \ + %{mailman_name}-digest.service \ + %{mailman_name}-digest.timer %preun -%service_del_preun %{mailman_name}.service +%service_del_preun %{mailman_name}.service \ + %{mailman_name}-digest.service \ + %{mailman_name}-digest.timer %postun -%service_del_postun %{mailman_name}.service +%service_del_postun %{mailman_name}.service \ + %{mailman_name}-digest.service \ + %{mailman_name}-digest.timer %python_uninstall_alternative master %python_uninstall_alternative mailman %python_uninstall_alternative runner