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