snap-sync-scripts/services/snap-sync.service

12 lines
293 B
Desktop File

[Unit]
Description=Run snap-sync backup
Requires=run-media-user-usbdrive.mount
After=run-media-user-usbdrive.mount
[Service]
Environment=TZ=UTC
Type=oneshot
ExecStart=/run/media/user/usbdrive/snapshots/scripts/backup-snap-sync-incremental.sh
[Install]
WantedBy=run-media-user-usbdrive.mount