first commit

This commit is contained in:
ascet-tomsk
2026-01-11 00:49:37 +07:00
commit f62d6e7fc0
23 changed files with 337 additions and 0 deletions

20
2.3-gitea.service Normal file
View File

@@ -0,0 +1,20 @@
# 2.3 Systemd служба для Gitea
# /etc/systemd/system/gitea.service
[Unit]
Description=Gitea (Git with a cup of tea)
After=network.target
Requires=network.target
[Service]
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
Restart=always
RestartSec=2s
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
[Install]
WantedBy=multi-user.target