aboutsummaryrefslogtreecommitdiff
path: root/pkgs/reddit-nextcloud-importer/reddit-nextcloud-importer.pre-install
blob: 74f1b591e16d12b52c7f15812c77334cfe0f3151 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

user=www-data
group=www-data

addgroup -S $group 2>/dev/null
adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null

exit 0