summaryrefslogtreecommitdiffstats
path: root/modules/mail/files
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-04-11 21:23:53 -0400
committerJesse Luehrs <doy@tozt.net>2019-04-11 21:23:53 -0400
commit39fef675bda80613506990f0d3751db99cfb518e (patch)
tree93f9e306dd943da1fb77558bd190a18d9a0e095b /modules/mail/files
parent37317aaa2a320a6cd4bc7081d1aaf6e0bb3f4f5e (diff)
downloadpuppet-tozt-39fef675bda80613506990f0d3751db99cfb518e.tar.gz
puppet-tozt-39fef675bda80613506990f0d3751db99cfb518e.zip
just restart mailu every day to work around the process leak
Diffstat (limited to 'modules/mail/files')
-rw-r--r--modules/mail/files/hack-kick-mailu5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/mail/files/hack-kick-mailu b/modules/mail/files/hack-kick-mailu
new file mode 100644
index 0000000..70b1ea2
--- /dev/null
+++ b/modules/mail/files/hack-kick-mailu
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -eu
+set -o pipefail
+
+systemctl restart mailu