summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud.pre-install
blob: f84fd15d838e6d0eb39d7d30336121b252d86513 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

groupadd -r -g 82 www-data 2>/dev/null
useradd -c Nextcloud -s /sbin/nologin -g www-data \
	-m -d /var/lib/nextcloud -k /etc/skel -r nextcloud 2>/dev/null

exit 0