1
0
This repository has been archived on 2024-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
Matheus Sampaio Queiroga f89287e9f2
Some checks failed
/ build (386) (push) Failing after 11m0s
/ build (amd64) (push) Failing after 10m8s
/ build (arm) (push) Failing after 10m52s
/ build (arm64) (push) Failing after 10m17s
/ build (riscv64) (push) Failing after 10m51s
/ release (push) Has been skipped
Update post install
Signed-off-by: Matheus Sampaio Queiroga <srherobrine20@gmail.com>
2024-03-29 17:16:25 -03:00

22 lines
530 B
Desktop File

[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
RestartSec=2s
LimitNOFILE=524288:524288
# Listen on 22, 80 and 443
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/bin/gitea web --config /etc/gitea/app.ini
Restart=always
User=git
Group=git
Environment=HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
# Environment=GITEA__DEFAULT__RUN_USER=git