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

13 lines
296 B
SYSTEMD
Raw Normal View History

2022-10-15 21:05:53 +02:00
[Unit]
Description=Run snap-sync cleanup
2022-10-15 21:16:38 +02:00
Requires=run-media-user-usbdrive.mount
After=run-media-user-usbdrive.mount snap-sync.service
2022-10-15 21:05:53 +02:00
[Service]
Environment=TZ=UTC
Type=oneshot
2022-10-15 21:16:38 +02:00
ExecStart=/run/media/user/usbdrive/snapshots/scripts/clean-snap-sync-external.sh
2022-10-15 21:05:53 +02:00
[Install]
WantedBy=snap-sync.service