summaryrefslogtreecommitdiffstats
path: root/debian/postfix.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/postfix.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/postfix.service b/debian/postfix.service
new file mode 100644
index 0000000..564761a
--- /dev/null
+++ b/debian/postfix.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Postfix Mail Transport Agent
+Documentation=man:postfix(1)
+Conflicts=sendmail.service exim4.service
+ConditionPathExists=/etc/postfix/main.cf
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/true
+ExecReload=/bin/true
+
+[Install]
+WantedBy=multi-user.target