bytelyst-devops-tools/systemd/hermes-root-backup.service
2026-05-27 11:23:07 +00:00

14 lines
464 B
Desktop File

[Unit]
Description=Sync root Hermes persistent backup to GitHub
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=root
Group=root
Environment="HERMES_HOME=/root/.hermes"
Environment="HERMES_BACKUP_REPO=/root/repos/bytelyst_hostinger_hermes_vm"
Environment="HERMES_BACKUP_REMOTE=https://github.com/saravanakumardb/bytelyst_hostinger_hermes_vm.git"
ExecStart=/usr/bin/python3 /root/.hermes/scripts/sync_hermes_persistent_backup.py