summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud.pre-install
blob: 746906a7a3119d85d6da546728d800129e24b153 (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 -r nextcloud 2>/dev/null

exit 0