rotate-session-ticket-keys: split up code with newlines

This commit is contained in:
Daniel Micay 2025-05-27 15:23:48 -04:00
parent 57a5209d8b
commit 5ce289433b

View file

@ -10,12 +10,15 @@ rsync -I 4.key 3.key
head -c 80 </dev/random >new.key
rsync -I new.key 4.key
rm new.key
cat {1..4}.key > keys.new
rsync -I keys.new keys
rm keys.new
if systemctl is-enabled nginx.service >/dev/null; then
nginx -s reload
fi
if systemctl is-enabled dnsdist.service >/dev/null; then
dnsdist -c -e 'reloadAllCertificates()'
fi