File: postfix%40.service.diff

package info (click to toggle)
postfix 3.10.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,968 kB
  • sloc: ansic: 134,721; makefile: 17,984; sh: 6,966; perl: 2,796; python: 1,448; awk: 158
file content (20 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -U0 between postfix@.service and postfix.service, to generate one from another

--- postfix.service
+++ postfix@.service
@@ -2 +2 @@
-Description=Postfix Mail Transport Agent (main/default instance)
+Description=Postfix Mail Transport Agent (instance %i, /etc/postfix-%I)
@@ -11,3 +11,4 @@
-ConditionPathExists=/etc/postfix/main.cf
-# pre-3.9.1-7 multi-instance setup:
-Conflicts=postfix@-.service
+PartOf=postfix.service
+Before=postfix.service
+ReloadPropagatedFrom=postfix.service
+AssertPathExists=/etc/postfix-%I/main.cf
@@ -17,2 +18,2 @@
-# Force operations on single default instance, do not run postmulti wrapper
-Environment=MAIL_CONFIG=/etc/postfix
+# Force operations on single non-default instance
+Environment=MAIL_CONFIG=/etc/postfix-%I