Skip to content

Commit

Permalink
Improve cronie spec
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 14, 2023
1 parent b49ff44 commit 5c15bad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions specs/cronie.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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 || :
Expand Down

0 comments on commit 5c15bad

Please sign in to comment.