[Unit]
Description=Create encrypted Hermes emergency bundle and upload to Google Drive
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
User=root
Group=root
Environment="BUNDLE_PASSPHRASE_FILE=/root/.config/hermes-google-drive/bundle-passphrase"
Environment="HERMES_DRIVE_AUTH_MODE=user"
ExecStart=/root/repos/learning_ai_devops_tools/scripts/hermes-emergency-bundle-upload-drive.sh --target both --keep 12
