mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-10-01 00:55:42 -04:00
16 lines
240 B
Bash
Executable File
16 lines
240 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
umask 077
|
|
|
|
cd /etc/nginx/session-ticket-keys
|
|
|
|
rsync -I 2.key 1.key
|
|
rsync -I 3.key 2.key
|
|
rsync -I 4.key 3.key
|
|
openssl rand -out new.key 80
|
|
rsync -I new.key 4.key
|
|
rm new.key
|
|
nginx -s reload
|