- Add centralized configuration system with backup.env - Move configuration files to proper structure (config/ directory) - Remove hardcoded paths and make system portable - Fix security issue: remove password exposure in gen-conf.sh - Add comprehensive documentation (README.md, CLAUDE.md) - Create configuration template (backup.env.sample) - Add .gitignore to protect sensitive files - Update all scripts to use environment variables - Implement systemd template variable substitution 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
365 B
Desktop File
18 lines
365 B
Desktop File
[Unit]
|
|
Description=Backup Service for %i
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=${BACKUP_USER}
|
|
Group=${BACKUP_USER}
|
|
WorkingDirectory=${SERVICES_BASE_DIR}/%i
|
|
ExecStart=${SERVICES_BASE_DIR}/%i/backup.sh
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
Environment=PATH=/usr/local/bin:/usr/bin:/bin
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|