mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Enable the ccache sweep systemd timer
The associated service doesn't need to be enabled. Enabling the timer is suffient for it to execute. It requires the timers service so will be ready automatically to run on the configured period. https://pagure.io/freeipa/issue/8589 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
parent
865c0762ae
commit
469274fafa
@ -1067,6 +1067,11 @@ if [ $? -eq 0 ]; then
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
/bin/systemctl restart ipa.service >/dev/null
|
/bin/systemctl restart ipa.service >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
/bin/systemctl is-enabled ipa-ccache-sweep.timer >/dev/null 2>&1
|
||||||
|
if [ $? -eq 1 ]; then
|
||||||
|
/bin/systemctl enable ipa-ccache-sweep.timer>/dev/null
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
# END
|
# END
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user