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

24
3proxy/3proxy.install Normal file
View File

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