summaryrefslogtreecommitdiffstats
path: root/debian/postfix.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/postfix.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/postfix.service b/debian/postfix.service
new file mode 100644
index 0000000..1769813
--- /dev/null
+++ b/debian/postfix.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Postfix Mail Transport Agent
+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