2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-11 02:22:31 +00:00

Explicitly restart sshd on completion

Some changes from setupssh may require sshd restart, perform it
if running with the sshd unit running.
This commit is contained in:
Jarrod Johnson
2025-08-14 07:24:28 -04:00
parent a71804a13b
commit 580c451945
2 changed files with 2 additions and 0 deletions

View File

@@ -42,3 +42,4 @@ confluentpython $confapiclient /confluent-api/self/nodelist | sed -e 's/^- //' >
cat /etc/ssh/shosts.equiv > /root/.shosts
cd -
rm -rf $TMPDIR
systemctl try-restart sshd

View File

@@ -42,3 +42,4 @@ confluentpython $confapiclient /confluent-api/self/nodelist | sed -e 's/^- //' >
cat /etc/ssh/shosts.equiv > /root/.shosts
cd -
rm -rf $TMPDIR
systemctl try-restart sshd