]> git.proxmox.com Git - pmg-api.git/commitdiff
restart postfix after first installing pmg-api
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 26 Jul 2019 09:23:34 +0000 (11:23 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 29 Jul 2019 09:19:56 +0000 (11:19 +0200)
when installing on debian, restarting postfix is necessary for it
to change the bind address (default is 127.0.0.1)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
debian/postinst

index ae8d2759ec364322cc9f9e3dfdb665fb2229bc80..8f84fc645f3634961b1f62b277ac81d13b32b066 100644 (file)
@@ -32,6 +32,7 @@ case "$1" in
                    deb-systemd-invoke reload-or-try-restart postgresql.service
                fi
                pmgconfig sync --restart
+               deb-systemd-invoke restart postfix.service
            fi
 
            pmgdb update  >/dev/null 2>&1 &