]> git.proxmox.com Git - pmg-api.git/commitdiff
services: add After=network-online.target and update
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Sep 2021 06:50:46 +0000 (08:50 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Sep 2021 06:55:24 +0000 (08:55 +0200)
while we indirectly got that by the remote-fs ordering constraint its
better to encode it explicitly, especially as the remote-fs does not
make much sense and may get removed soon

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/pmgdaemon.service
debian/pmgproxy.service

index 230f4a74730ca6a494fc594c0d8be3ee4f8ab1fd..04fc5606d7927a8e4d4255c347c55166dbb8d5ef 100644 (file)
@@ -3,6 +3,7 @@ Description=Proxmox Mail Gateway API Daemon
 ConditionPathExists=/usr/bin/pmgdaemon
 Wants=ssh.service
 Wants=remote-fs.target
+After=network-online.target
 After=ssh.service
 After=remote-fs.target
 
index 7a711b37baaebe0ad947e312144faaf40bdd6ac9..87815997479478300eb677c108d264dbb87a1632 100644 (file)
@@ -4,6 +4,7 @@ ConditionPathExists=/usr/bin/pmgproxy
 Wants=pmgdaemon.service
 Wants=ssh.service
 Wants=remote-fs.target
+After=network-online.target
 After=pmgdaemon.service
 After=ssh.service
 After=remote-fs.target