setup-cockpit/dotfiles/systemd_timers/rsync_backup.service

6 lines
230 B
Desktop File

[Unit]
Description=Backup with rsync daily
[Service]
Type=simple
ExecStart=/bin/bash -c 'source /home/*/setup-cockpit/secrets && /home/*/setup-cockpit/rsync_backup.sh' && notify-send RSYNC BACKUP: SUCCESS || RSYNC BACKUP: FAILED