Added create user scripts

This commit is contained in:
2025-12-19 16:03:34 +02:00
parent 58e3cbc00b
commit 2501da1429
5 changed files with 175 additions and 0 deletions

15
.env.tmpl Normal file
View File

@@ -0,0 +1,15 @@
# Name of the restricted SSH user
BACKUP_USER=backup-trigger
# Absolute path to python binary (resolve once!)
PYTHON_BIN=/usr/bin/python3
# Absolute path where the repo is installed
# (directory that contains run_backup.py)
BACKUP_INSTALL_DIR=/usr/local/kvm-backup
# Name of the python entrypoint file
BACKUP_RUNNER=run_backup.py
# Optional: fixed wrapper path (recommended)
WRAPPER_PATH=/usr/local/bin/run-kvm-backup