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

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