Check for each installed service

This commit is contained in:
Pedro Algarvio 2014-02-20 11:44:34 +00:00
parent 5d0fdd25c8
commit 40b68e6e07

View file

@ -2013,7 +2013,14 @@ install_fedora_restart_daemons() {
}
install_fedora_check_services() {
__check_services_systemd
for fname in minion master syndic; do
# Skip if not meant to be installed
[ $fname = "minion" ] && [ $_INSTALL_MINION -eq $BS_FALSE ] && continue
[ $fname = "master" ] && [ $_INSTALL_MASTER -eq $BS_FALSE ] && continue
[ $fname = "syndic" ] && [ $_INSTALL_SYNDIC -eq $BS_FALSE ] && continue
__check_services_systemd $fname || return 1
done
return 0
}
#
# Ended Fedora Install Functions