initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

22
squid/squid.install Normal file
View File

@@ -0,0 +1,22 @@
post_install() {
if ! getent group proxy &>/dev/null; then
groupadd -g 15 proxy &>/dev/null
fi
if ! getent passwd proxy &>/dev/null; then
useradd -u 15 -g proxy -d /var/empty proxy
fi
chown proxy.proxy var/{cache,log}/squid
}
post_upgrade() {
post_install
}
post_remove() {
if getent passwd proxy &>/dev/null; then
userdel proxy >/dev/null
fi
if getent group proxy &>/dev/null; then
groupdel proxy >/dev/null
fi
}