We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0d9c9 commit 212ac94Copy full SHA for 212ac94
after-install.sh
@@ -18,6 +18,7 @@ if [ -x "/bin/systemctl" ]; then
18
/bin/systemctl daemon-reload
19
20
if [ -d "/share/websites/www" ]; then
21
+ echo "Restarting supervisor daemon!"
22
/bin/systemctl restart supervisor
23
fi
24
@@ -26,6 +27,7 @@ fi
26
27
if [ -d "/share/workers/defaults/ssh/$(hostname -s)" ] && \
28
! diff -q "/share/workers/defaults/ssh/$(hostname -s)/ssh_host_ecdsa_key" /etc/ssh/ssh_host_ecdsa_key >/dev/null 2>&1
29
then
30
+ echo "SSH Host keys updated. Restarting SSH daemon!"
31
cp -r "/share/workers/defaults/ssh/$(hostname -s)/ssh_host_*" /etc/ssh/
32
/bin/systemctl restart sshd
33
0 commit comments