1
0
Fork 0
haveged/debian/tests/check-service

15 lines
271 B
Text
Raw Normal View History

#!/bin/sh
if systemd-detect-virt -qc; then
echo "haveged service will fail in (unprivileged) container, skipping test"
exit 77
fi
if ! systemctl is-active haveged; then
echo "haveged service is not active"
systemctl status haveged
exit 1
fi
exit 0