summaryrefslogtreecommitdiff
path: root/op-mode-definitions/restart-ssh.xml.in
AgeCommit message (Collapse)Author
2024-07-17op-mode: T6577: create generic service restart helper to work with the APImergify/bp/circinus/pr-3817Christian Breunig
Right now we have multiple restart helpers (e.g. dhcp server, ssh, ntp) that all do the same (more or less): * Check if service is configured on CLI * Restart if configured * Error out if unconfigured This is not available via the op-mode API. Create a new restart.py op-mode helper that takes the service name and possible VRF as argument so it's also exposed via API. (cherry picked from commit c74ae852152b0c3c3f00a1847d081d28f500e178)
2024-06-22op-mode: T6503: "restart ssh" command not workingChristian Breunig
Commit e5af1f090 ("ssh: T6192: allow binding to multiple VRF instances") switched the systemd unit file from ssh.service to ssh@*.service, this change was not reflected in the "restart ssh" op-mode command. (cherry picked from commit 059eb3a137a75d502632174cc028b81f49152782)
2021-01-15ssh: T631: add op-mode "restart ssh" commandChristian Poessinger