Last active
June 9, 2016 15:37
-
-
Save dolohow/d7cb77c3771e45d41b9b86cbe5373b6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Backups via rsync | |
[Service] | |
ExecStart=/bin/true | |
ExecStop=/usr/bin/rsync -aAX --exclude-from=/mnt/backup/ryszard/.exclude /home/ryszard /mnt/backup | |
Type=oneshot | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment