diff options
Diffstat (limited to 'debian/tests/daemon')
-rw-r--r-- | debian/tests/daemon | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/daemon b/debian/tests/daemon new file mode 100644 index 0000000..173d90f --- /dev/null +++ b/debian/tests/daemon @@ -0,0 +1,13 @@ +#!/bin/sh +#-------------- +# Testing exim4 +#-------------- +set -e +DAEMON=exim4 + +if pidof -x $DAEMON > /dev/null; then + echo "OK" +else + echo "ERROR: ${DAEMON} IS NOT RUNNING" + exit 1 +fi |