mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-12-22 13:45:02 -05:00
move session ticket mount to fstab
This commit is contained in:
parent
cbed8c0b42
commit
9ec62a0b79
1
fstab
1
fstab
@ -1 +1,2 @@
|
|||||||
/dev/mapper/swap none swap discard=once 0 0
|
/dev/mapper/swap none swap discard=once 0 0
|
||||||
|
tmpfs /etc/nginx/session-ticket-keys tmpfs size=1M,mode=700,noswap,x-systemd.before=nginx-create-session-ticket-keys.service,x-systemd.required-by=nginx-create-session-ticket-keys.service 0 0
|
||||||
|
@ -4,9 +4,6 @@ set -o errexit -o nounset -o pipefail
|
|||||||
|
|
||||||
umask 077
|
umask 077
|
||||||
|
|
||||||
mkdir -p /etc/nginx/session-ticket-keys
|
|
||||||
mount -t tmpfs -o size=1M,mode=700,noswap tmpfs /etc/nginx/session-ticket-keys
|
|
||||||
|
|
||||||
cd /etc/nginx/session-ticket-keys
|
cd /etc/nginx/session-ticket-keys
|
||||||
|
|
||||||
for i in {1..4}; do
|
for i in {1..4}; do
|
||||||
|
Loading…
Reference in New Issue
Block a user