summaryrefslogtreecommitdiffstats
path: root/debian/postfix@.service
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:46:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:46:31 +0000
commit32afea41ba8b7328e252ae97ca32c56f98d42a90 (patch)
tree11b25ffd59d9190c8316cd48ace4e198531d0e7d /debian/postfix@.service
parentAdding upstream version 3.4.23. (diff)
downloadpostfix-32afea41ba8b7328e252ae97ca32c56f98d42a90.tar.xz
postfix-32afea41ba8b7328e252ae97ca32c56f98d42a90.zip
Adding debian version 3.4.23-0+deb10u1.debian/3.4.23-0+deb10u1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postfix@.service')
-rw-r--r--debian/postfix@.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/postfix@.service b/debian/postfix@.service
new file mode 100644
index 0000000..82e48a5
--- /dev/null
+++ b/debian/postfix@.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Postfix Mail Transport Agent (instance %i)
+Documentation=man:postfix(1)
+PartOf=postfix.service
+Before=postfix.service
+ReloadPropagatedFrom=postfix.service
+After=network-online.target nss-lookup.target
+Wants=network-online.target
+
+[Service]
+Type=forking
+GuessMainPID=no
+ExecStartPre=/usr/lib/postfix/configure-instance.sh %i
+ExecStart=/usr/sbin/postmulti -i %i -p start
+ExecStop=/usr/sbin/postmulti -i %i -p stop
+ExecReload=/usr/sbin/postmulti -i %i -p reload
+
+[Install]
+WantedBy=multi-user.target