Add common module managing common services and scripts (act_runner, create/restore backups)

Fix script environment variables
Add Fefan configuration
Fix gateway services file provisionning through ssh
This commit is contained in:
2026-01-20 15:42:17 +01:00
parent 152f09ac50
commit 1de2fe9ab4
53 changed files with 285 additions and 442 deletions

View File

@@ -1,9 +1,17 @@
GITEA_HOME="/var/lib/gitea"
GITEA_CONF="/var/lib/gitea/app.ini"
GITEA_USER="git"
GITEA_VERSION="1.25.3"
GITEA_BINARY="/usr/local/bin/gitea"
GITEA_SERVICE="/etc/systemd/system/gitea.service"
DB_NAME="giteadb"
DB_USER="gitea"
GITEA_BACKUPS_DIR="/backups/gitea"
# Environment files
ENV_FILE_LOCATION=/opt/environment/.env
# Application specifics
GITEA_HOME=/var/lib/gitea
GITEA_CONF=$GITEA_HOME/app.ini
GITEA_USER=git
GITEA_VERSION=1.25.3
GITEA_BINARY=/usr/local/bin/gitea
GITEA_SERVICE=/etc/systemd/system/gitea.service
DB_NAME=giteadb
DB_USER=gitea
# Backup specifics
SERVICE_BACKUPS_DIR=/backups/gitea
SERVICE_BACKUPS_PREFIX=gitea-dump
SERVICE_BACKUPS_EXTENSION=zip