Debian Codegraph @

debian/tests/check-service

raw
1 #!/bin/sh
2
3 if systemd-detect-virt -qc; then
4 echo "haveged service will fail in (unprivileged) container, skipping test"
5 exit 77
6 fi
7
8 if ! systemctl is-active haveged; then
9 echo "haveged service is not active"
10 systemctl status haveged
11 exit 1
12 fi
13
14 exit 0