File: debian-run-configure-instance-from-create-missing.patch

package info (click to toggle)
postfix 3.10.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,024 kB
  • sloc: ansic: 134,613; makefile: 17,990; sh: 6,971; perl: 2,795; python: 1,448; awk: 158
file content (21 lines) | stat: -rw-r--r-- 668 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
21
Subject: run debian-specific configure-instance script from post-install create-missing
From: Michael Tokarev <mjt@tls.msk.ru
Tue, 17 Dec 2024 09:48:32 +0300
Forwarded: not-needed
Debian-Specific: yes

Run debian-provided (mostly chroot setup) script from
`post-install create-missing`, which is run when starting
a postfix instance.

diff --git a/conf/post-install b/conf/post-install
--- a/conf/post-install
+++ b/conf/post-install
@@ -584,6 +584,7 @@ test -n "$create" && {
 	done
 	IFS="$BACKUP_IFS"
     done
+    /usr/lib/postfix/configure-instance.sh || exit 1	 # debian-specific: setup chroot
 }
 
 # Upgrade existing Postfix configuration files if necessary.