diff --git a/specs/cronie.spec b/specs/cronie.spec index 22dfe73a6..349481bed 100644 --- a/specs/cronie.spec +++ b/specs/cronie.spec @@ -175,6 +175,8 @@ if [[ $1 -eq 1 ]] ; then systemctl enable %{service_name}.service &>/dev/null || : fi +systemctl daemon-reload &>/dev/null || : + %preun if [[ $1 -eq 0 ]]; then systemctl --no-reload disable %{service_name}.service &>/dev/null || :