6 lines
181 B
Bash
Executable file
6 lines
181 B
Bash
Executable file
#!/bin/bash
|
|
|
|
id forgejo &> /dev/null || useradd forgejo -r -s /bin/false -d /var/lib/forgejo/
|
|
|
|
chown -R forgejo:forgejo /var/lib/forgejo/
|
|
chown forgejo:forgejo /etc/forgejo/app.ini
|