Fix GH #8922
Make sure systemd is reloading the updated definition
of a service on updates and first installation.
%service_add_post %{name}.service
%endif
%if 0%{?rhel} >= 7
+systemctl daemon-reload ||:
%systemd_post %{name}.service
%endif
%if 0%{?rhel} == 6
chkconfig --add %{name}
%else
+systemctl daemon-reload ||:
%systemd_post %{name}.service
%endif
%post
%if 0%{?rhel} >= 7
+systemctl daemon-reload ||:
%systemd_post pdns.service
%else
/sbin/chkconfig --add pdns