7 lines
182 B
Bash
7 lines
182 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S -g 82 www-data 2>/dev/null
|
|
adduser -S -D -h /var/lib/forgejo -s /bin/sh -G www-data -g forgejo forgejo 2>/dev/null \
|
|
&& passwd -u forgejo 2>/dev/null
|
|
|
|
exit 0
|