aboutsummaryrefslogtreecommitdiffstats
path: root/community/caddy/caddy.pre-install
blob: 09e1d1faa31b8ca3e96ad535e907bdb9942cc0e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh

addgroup -S -g 82 www-data 2>/dev/null
addgroup -S caddy 2>/dev/null

adduser -S -D -h /var/lib/caddy -s /sbin/nologin -G caddy -g caddy caddy 2>/dev/null
adduser caddy www-data 2>/dev/null

exit 0