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

23
haproxy/haproxy.install Normal file
View File

@@ -0,0 +1,23 @@
post_install() {
if ! getent group haproxy &>/dev/null; then
groupadd -r haproxy >& /dev/null
fi
if ! getent passwd haproxy &>/dev/null; then
useradd -r -d /var/lib/haproxy -g haproxy -s /bin/false haproxy
fi
chown gerbera:gerbera /var/lib/haproxy
}
post_upgrade() {
post_install $1
}
post_remove() {
if getent passwd haproxy &>/dev/null; then
userdel haproxy >/dev/null
fi
if getent group haproxy &>/dev/null; then
groupdel haproxy >/dev/null
fi
}