aboutsummaryrefslogtreecommitdiffstats
path: root/community/gogs/gogs.pre-install
blob: acf2093962234b2288e6c081c349bd7bb5836a02 (plain)
1
2
3
4
5
6
7
#!/bin/sh

addgroup -S www-data 2>/dev/null
adduser -S -D -h /var/lib/gogs -s /bin/ash -G www-data -g gogs gogs 2>/dev/null
passwd -u gogs 2>/dev/null

exit 0