diff options
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/user/backup.service | 8 | ||||
-rw-r--r-- | systemd/user/rclone.service | 8 | ||||
-rw-r--r-- | systemd/user/rclone.timer | 8 |
3 files changed, 16 insertions, 8 deletions
diff --git a/systemd/user/backup.service b/systemd/user/backup.service deleted file mode 100644 index 3a3e5b3..0000000 --- a/systemd/user/backup.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Back up important files - -[Service] -ExecStart=fish -c backup - -[Install] -WantedBy=default.target diff --git a/systemd/user/rclone.service b/systemd/user/rclone.service new file mode 100644 index 0000000..7e5adc5 --- /dev/null +++ b/systemd/user/rclone.service @@ -0,0 +1,8 @@ +[Unit] +Description=rclone + +[Service] +ExecStart=rclone sync ~ crypt: --transfers 32 --include "Documents/**" --include "Music/**" --include "Pictures/**" --include "Videos/**" --include ".local/share/fish/fish_history" --include ".mozilla/firefox/*.default-release/places.sqlite" --include ".ssh/**" + +[Install] +WantedBy=default.target diff --git a/systemd/user/rclone.timer b/systemd/user/rclone.timer new file mode 100644 index 0000000..3dd449a --- /dev/null +++ b/systemd/user/rclone.timer @@ -0,0 +1,8 @@ +[Unit] +Description=rclone daily timer + +[Timer] +OnCalendar=00:00 UTC + +[Install] +WantedBy=timers.target |