- Automated backup system using Restic - Systemd timer integration for scheduled backups - Service management tools (start/stop/restore) - Multi-service support with template-based configuration - Backup and restore functionality with test/production modes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
356 B
Desktop File
19 lines
356 B
Desktop File
[Unit]
|
|
Description=Backup Service for %i
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=citadel
|
|
Group=citadel
|
|
WorkingDirectory=/home/citadel/services/%i
|
|
ExecStart=/home/citadel/services/%i/backup.sh
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
Environment=PATH=/usr/local/bin:/usr/bin:/bin
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|