fix gitea
This commit is contained in:
parent
faf953f718
commit
590bb561ad
4 changed files with 22 additions and 7 deletions
17
README.MD
17
README.MD
|
@ -25,7 +25,7 @@ debmaker_chroot cache/joplin
|
|||
|
||||
- [adguardhome](#adguardhome) ([site](https://adguard.com/fr/adguard-home/overview.html)) ([src](https://github.com/AdguardTeam/AdguardHome))
|
||||
- [authelia](#authelia) ([site](https://www.authelia.com/)) ([src](https://github.com/authelia/authelia))
|
||||
- [element-web](#element-web) ([site](https://element.io/)) ([src]())
|
||||
- [element-web](#element-web) ([site](https://element.io/)) ([src](https://github.com/vector-im/element-web))
|
||||
- [gitea](#gitea) ([site](https://gitea.io)) ([src](https://github.com/go-gitea/gitea/))
|
||||
- [gotify](#gotify) ([site](https://gotify.net/)) ([src](https://github.com/gotify))
|
||||
- [grocy](#grocy) ([site](https://grocy.info/)) ([src](https://github.com/grocy/grocy))
|
||||
|
@ -81,6 +81,21 @@ a2ensite element-web
|
|||
systemctl restart apache2
|
||||
```
|
||||
|
||||
#### gitea
|
||||
|
||||
```bash
|
||||
apt install -y wget ca-certificates
|
||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||
apt-get update
|
||||
apt-get install -y gitea
|
||||
|
||||
#Edit /etc/gitea/app.ini
|
||||
|
||||
systemctl enable --now gitea
|
||||
|
||||
#configuration with http://<ip>:3000
|
||||
|
||||
```
|
||||
#### gotify
|
||||
|
||||
```bash
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=1.16.3
|
||||
RELEASE=1
|
||||
RELEASE=2
|
||||
|
||||
[ -e ./lib/function.sh ] && source ./lib/function.sh
|
||||
|
||||
|
@ -38,7 +38,7 @@ prebuild(){
|
|||
build() {
|
||||
cd /tmp/${APP}/
|
||||
PATH=$PATH:/usr/local/go/bin
|
||||
make
|
||||
TAGS="bindata sqlite sqlite_unlock_notify" make build
|
||||
}
|
||||
|
||||
makedeb(){
|
||||
|
|
|
@ -12,15 +12,15 @@ After=network.target
|
|||
#LimitNOFILE=65535
|
||||
RestartSec=2s
|
||||
Type=simple
|
||||
User=git
|
||||
Group=git
|
||||
WorkingDirectory=/var/lib/gitea/work_dir
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/var/lib/gitea/
|
||||
# If using Unix socket: tells systemd to create the /run/gitea folder, which will contain the gitea.sock file
|
||||
# (manually creating /run/gitea doesn't work, because it would not persist across reboots)
|
||||
#RuntimeDirectory=gitea
|
||||
ExecStart=/usr/bin/gitea web --config /etc/gitea/app.ini
|
||||
Restart=always
|
||||
Environment=USER=git HOME=/var/lib/gitea/ GITEA_WORK_DIR=/var/lib/gitea/work_dir
|
||||
Environment=USER=gitea HOME=/var/lib/gitea/ GITEA_WORK_DIR=/var/lib/gitea/
|
||||
# If you install Git to directory prefix other than default PATH (which happens
|
||||
# for example if you install other versions of Git side-to-side with
|
||||
# distribution version), uncomment below line and add that prefix to PATH
|
||||
|
|
Loading…
Reference in a new issue