mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-28 13:29:58 +00:00

to ensure certificate/key is present prior to loading them. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
24 lines
533 B
Desktop File
24 lines
533 B
Desktop File
[Unit]
|
|
Description=PVE API Proxy Server
|
|
ConditionPathExists=/usr/bin/pveproxy
|
|
Wants=pve-cluster.service
|
|
Wants=pvedaemon.service
|
|
Wants=ssh.service
|
|
Wants=pve-storage.target
|
|
After=pve-storage.target
|
|
After=pve-cluster.service
|
|
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
|
|
PIDFile=/run/pveproxy/pveproxy.pid
|
|
Type=forking
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|