Skip to content

Commit

Permalink
Remove no longer accurate comment
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <contact@tommytran.io>
  • Loading branch information
TommyTran732 authored Aug 30, 2024
1 parent 6e9ee76 commit 6151c4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ sudo sed -i '$i restorecon -Rv /etc/nginx/session-ticket-keys' "$(realpath /usr/

# Set the appropriate SELinux context for session ticket keys rotation
unpriv curl -s https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/nginx-rotate-session-ticket-keys | sudo tee /usr/local/bin/nginx-rotate-session-ticket-keys > /dev/null
## Explicitly using /var/usrlocal/bin here because SELinux does not follow symlinks
sudo semanage fcontext -a -t bin_t "$(realpath /usr/local/bin/nginx-rotate-session-ticket-keys)"
sudo restorecon -Rv "$(realpath /usr/local/bin/nginx-rotate-session-ticket-keys)"
sudo chmod u+x "$(realpath /usr/local/bin/nginx-rotate-session-ticket-keys)"
Expand Down

0 comments on commit 6151c4d

Please sign in to comment.