dotfiles/etc/systemd/system/backup-wd2tb.service

10 lines
232 B
Desktop File

[Unit]
Description=My auto backup to WD Passport
Requires=media-wdpassport2tb.mount
After=media-wdpassport2tb.mount
[Service]
ExecStart=/home/fschl/dotfiles/scripts/show_local_backup.sh
[Install]
WantedBy=media-wdpassport2tb.mount