Created
May 27, 2021 22:03
-
-
Save jayalane/327ad3b84091887e3287d66c55864734 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chattr -i /usr/lib/tmpfiles.d/squid.conf | |
#yum install -y squid | |
yum update -y | |
yum upgrade -y | |
yum erase -y squid || echo "No squid already there" | |
yum install -y squid-3.5.20-17.amzn2.4.1.x86_64 | |
# somehow in newer AWS Linux 2 tmpfiles is restarting squid | |
# when it runs | |
cat > /usr/lib/tmpfiles.d/squid.conf <<'EOF' | |
# squid should not be here we don't want restarts for this | |
# | |
EOF | |
chattr +i /usr/lib/tmpfiles.d/squid.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment