1 2 3 4
#!/bin/sh adduser -S -h /var/lib/gogs -s /bin/ash -G www-data -D gogs 2>/dev/null || true passwd -u gogs || true