This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
ptrcports/caddy-extended/caddy-extended.pre-install

10 lines
209 B
Text
Raw Normal View History

2022-04-26 01:42:46 +00:00
#!/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