Skip to content

Commit 212ac94

Browse files
committed
add echo warnings
1 parent ab0d9c9 commit 212ac94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

after-install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ if [ -x "/bin/systemctl" ]; then
1818
/bin/systemctl daemon-reload
1919

2020
if [ -d "/share/websites/www" ]; then
21+
echo "Restarting supervisor daemon!"
2122
/bin/systemctl restart supervisor
2223
fi
2324
fi
@@ -26,6 +27,7 @@ fi
2627
if [ -d "/share/workers/defaults/ssh/$(hostname -s)" ] && \
2728
! diff -q "/share/workers/defaults/ssh/$(hostname -s)/ssh_host_ecdsa_key" /etc/ssh/ssh_host_ecdsa_key >/dev/null 2>&1
2829
then
30+
echo "SSH Host keys updated. Restarting SSH daemon!"
2931
cp -r "/share/workers/defaults/ssh/$(hostname -s)/ssh_host_*" /etc/ssh/
3032
/bin/systemctl restart sshd
3133
fi

0 commit comments

Comments
 (0)