~dricottone/huttese-apk

ref: 4ed7a3f56f231c7cff2efb237b6041b7badb6148 huttese-apk/sr.ht/tlstunnel/tlstunnel.post-install -rw-r--r-- 290 bytes
4ed7a3f5 — Drew DeVault sr.ht-uacme: correct mode of /etc/ssl/uacme 3 years ago
                                                                                
1
2
3
4
5
#!/bin/sh
grep '^tlstunnel' /etc/group >/dev/null || addgroup -S tlstunnel 2>/dev/null
grep '^tlstunnel' /etc/passwd >/dev/null || adduser -SDh/var/lib/tlstunnel \
	-s/sbin/nologin -Gtlstunnel -gtlstunnel tlstunnel tlstunnel 2>/dev/null
setcap 'cap_net_bind_service=+ep' /usr/bin/tlstunnel