aboutsummaryrefslogtreecommitdiffstats
path: root/debian/tests/service
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2024-03-29 11:16:52 +0100
committervg <vgm+dev@devys.org>2024-03-29 11:16:52 +0100
commit8eae1aca826e08d953a43978bae554f20d07897a (patch)
treebcbb8a580d5b29f35bb90d6ef1a05d80aed67e66 /debian/tests/service
parent9f542a1e74323a7247a19de9d7349a7269c63002 (diff)
downloadfetchmail-8eae1aca826e08d953a43978bae554f20d07897a.tar.gz
fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.tar.bz2
fetchmail-8eae1aca826e08d953a43978bae554f20d07897a.zip
get debian directory from debian archive
Diffstat (limited to 'debian/tests/service')
-rw-r--r--debian/tests/service13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/service b/debian/tests/service
new file mode 100644
index 00000000..95f9abcd
--- /dev/null
+++ b/debian/tests/service
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+###############################
+### Check fetchmail service ###
+###############################
+
+set -e
+
+echo "Checking fetchmail service is enabled"
+systemctl is-enabled fetchmail.service
+
+echo "Checking fetchmail service is active"
+systemctl is-active fetchmail.service