mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 13:45:02 -05:00
16 lines
244 B
Plaintext
16 lines
244 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -o errexit -o nounset -o pipefail
|
||
|
|
||
|
umask 077
|
||
|
|
||
|
cd /etc/nginx/session-ticket-keys
|
||
|
|
||
|
rsync -It 2.key 1.key
|
||
|
rsync -It 3.key 2.key
|
||
|
rsync -It 4.key 3.key
|
||
|
openssl rand -out new.key 80
|
||
|
rsync -It new.key 4.key
|
||
|
rm new.key
|
||
|
nginx -s reload
|