]> git.proxmox.com Git - pve-cluster.git/commit - data/PVE/Cluster.pm
setup_sshd_config: remove useless start_sshd parameter
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Nov 2017 08:57:59 +0000 (09:57 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 27 Nov 2017 08:41:02 +0000 (09:41 +0100)
commit99fc08473a02ae3d0b1260eb4ab3ee40d2bc337d
treec3aeda63d5b11ac3880c6a7a1ac5d2c107ebed3b
parent9db3f0c0c17e0145dc2696e7fee46fd1604a52e7
setup_sshd_config: remove useless start_sshd parameter

This controlled if we use reload-or-restart or try-reload-or-restart.
They differ in the following way:
> reload-or-restart - Reload one or more units if possible, otherwise
> start or restart
>
> try-reload-or-restart - Reload one or more units if possible,
> otherwise (re)start if active

Under PVE we normally need a running ssh for a node/cluster to work,
there isn't the case where it should be stopped, especially not for
this method which is normally called when setting up or joining a
cluster.
So always use 'reload-or-restart'.

Semantically reverts: 6c0e95b3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/CLI/pvecm.pm
data/PVE/Cluster.pm