]> git.proxmox.com Git - pve-cluster.git/commitdiff
pvecm: update comment about updatecerts timeout
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 28 Jun 2023 13:23:16 +0000 (15:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Jun 2023 13:41:26 +0000 (15:41 +0200)
The call was moved by 84c3ab0 ("pve-cluster.service: move pvecm call
to pveproxy.service") to pveproxy.service's ExecStartPre.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/CLI/pvecm.pm

index d816a0caae0195c86c6ef0a66f17e8213dc45795..564dc99851df2fe84b5f39b8eb87ffe1901c8b35 100755 (executable)
@@ -572,9 +572,9 @@ __PACKAGE__->register_method ({
     code => sub {
        my ($param) = @_;
 
-       # we get called by the pve-cluster.service ExecStartPost and as we do
+       # we get called by the pveproxy.service ExecStartPre and as we do
        # IO (on /etc/pve) which can hang (uninterruptedly D state). That'd be
-       # no-good for ExecStartPost as it fails the whole service in this case
+       # no-good for ExecStartPre as it fails the whole service in this case
        PVE::Tools::run_fork_with_timeout(30, sub {
            PVE::Cluster::Setup::updatecerts_and_ssh($param->@{qw(force silent)});
            PVE::Cluster::prepare_observed_file_basedirs();