mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-02 10:36:11 -05:00
move umask to systemd unit configuration
This commit is contained in:
parent
9ec62a0b79
commit
05d903ae3f
@ -2,8 +2,6 @@
|
||||
|
||||
set -o errexit -o nounset -o pipefail
|
||||
|
||||
umask 077
|
||||
|
||||
cd /etc/nginx/session-ticket-keys
|
||||
|
||||
for i in {1..4}; do
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
set -o errexit -o nounset -o pipefail
|
||||
|
||||
umask 077
|
||||
|
||||
cd /etc/nginx/session-ticket-keys
|
||||
|
||||
rsync -I 2.key 1.key
|
||||
|
@ -7,6 +7,7 @@ Type=oneshot
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/local/bin/nginx-create-session-ticket-keys
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -7,3 +7,4 @@ Type=oneshot
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/local/bin/nginx-rotate-session-ticket-keys
|
||||
UMask=0077
|
||||
|
Loading…
Reference in New Issue
Block a user