1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00

Fix: Add sudo to commands that would fail due to missing permissions.

This commit is contained in:
JanHoefelmeyer 2024-08-08 11:44:16 +02:00
parent 8feddc70e1
commit e603c525c1
7 changed files with 22 additions and 22 deletions

View file

@ -36,7 +36,7 @@ echo '
return 403;
}
}
'> ~/${FOLDERNAME}/clientCertificateConfigs.txt
' | sudo tee ~/${FOLDERNAME}/clientCertificateConfigs.txt
sudo sed -i "/^server {/r ${HOME}/${FOLDERNAME}/clientCertificateConfigs.txt" $NGINX_CONFIG_PATH