mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-21 06:03:11 -04:00
16 lines
288 B
Bash
Executable file
16 lines
288 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
cd /etc/session-ticket-keys
|
|
|
|
rsync -I 2.key 1.key
|
|
rsync -I 3.key 2.key
|
|
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
|
|
nginx -s reload
|