[pve-devel] [PATCH manager 06/12] pveproxy.service: take over pvecm call from pve-cluster.service

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Nov 6 13:37:10 CET 2019


to ensure certificate/key is present prior to loading them.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 services/pveproxy.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/services/pveproxy.service b/services/pveproxy.service
index 8c80ebf1..51038785 100644
--- a/services/pveproxy.service
+++ b/services/pveproxy.service
@@ -11,6 +11,7 @@ After=pvedaemon.service
 After=ssh.service
 
 [Service]
+ExecStartPre=-/usr/bin/pvecm updatecerts --silent
 ExecStart=/usr/bin/pveproxy start
 ExecStop=/usr/bin/pveproxy stop
 ExecReload=/usr/bin/pveproxy restart
-- 
2.20.1





More information about the pve-devel mailing list