rebuild forgejo, move app.ini to conf/app.ini
This commit is contained in:
parent
ea5bd7e4fd
commit
d4dcc9b50b
|
@ -1,7 +1,7 @@
|
||||||
#/usr/bin/env bash
|
#/usr/bin/env bash
|
||||||
|
|
||||||
pkgname="forgejo"
|
pkgname="forgejo"
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgver="1.20.1-0"
|
pkgver="1.20.1-0"
|
||||||
pkgdesc="A painless selfhost git service."
|
pkgdesc="A painless selfhost git service."
|
||||||
url="https://codeberg.org/forgejo/forgejo"
|
url="https://codeberg.org/forgejo/forgejo"
|
||||||
|
@ -23,8 +23,8 @@ function debian_postinst {
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
mkdir -p /var/lib/forgejo
|
mkdir -p /var/lib/forgejo
|
||||||
mkdir -p /etc/forgejo
|
mkdir -p /etc/forgejo/conf
|
||||||
touch /etc/forgejo/app.ini
|
touch /etc/forgejo/conf/app.ini
|
||||||
|
|
||||||
useradd --system git
|
useradd --system git
|
||||||
chown -R git:git /var/lib/forgejo /etc/forgejo /etc/forgejo/app.ini
|
chown -R git:git /var/lib/forgejo /etc/forgejo /etc/forgejo/app.ini
|
||||||
|
|
Loading…
Reference in a new issue