Skip to content

Commit acafffb

Browse files
bmwiedemannAdam Spiers
authored and
Adam Spiers
committed
check for running services at end of install
1 parent c554343 commit acafffb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

releases/pebbles/master/extra/install-chef-suse.sh

+6
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,12 @@ if [ -n "$CROWBAR_RUN_TESTS" ]; then
397397
die "Crowbar validation has errors! Please check the logs and correct."
398398
fi
399399

400+
for s in xinetd dhcpd apache2 ; do
401+
if ! /etc/init.d/$s status >/dev/null ; then
402+
die "service $s missing"
403+
fi
404+
done
405+
400406
touch /opt/dell/crowbar_framework/.crowbar-installed-ok
401407

402408
cat <<EOF

0 commit comments

Comments
 (0)