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

9 lines
209 B
Bash

#!/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