summaryrefslogtreecommitdiffstats
path: root/roles/mailman/files/fix_ansible.conf
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-12 14:28:47 +0100
committerMichael Scherer <misc@zarb.org>2014-12-12 14:28:47 +0100
commitca315bf9c292d4757b67a86117e3182c1b0dd680 (patch)
tree57923818c4e974b2d7f8e16be14ef3d8612b855f /roles/mailman/files/fix_ansible.conf
parentd9e874ece0c162fcba01553fbea0a8b2fd86d249 (diff)
Import postfix/mailman from rad
Diffstat (limited to 'roles/mailman/files/fix_ansible.conf')
-rw-r--r--roles/mailman/files/fix_ansible.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/mailman/files/fix_ansible.conf b/roles/mailman/files/fix_ansible.conf
new file mode 100644
index 0000000..036fa8e
--- /dev/null
+++ b/roles/mailman/files/fix_ansible.conf
@@ -0,0 +1,5 @@
+[Service]
+ExecStop=
+ExecStop=/usr/lib/mailman/bin/mailman-update-cfg
+ExecStop=/usr/lib/mailman/bin/mailmanctl stop
+ExecStop=/bin/sh -c 'echo -e "# Master copy is /usr/lib/mailman/cron/crontab.in" > /etc/cron.d/mailman'