[Unit] Description=backup my home directory [Service] Type=oneshot Environment=RESTIC_REPOSITORY=rest:http://nas:8010/ Environment=RESTIC_PASSWORD_FILE=/home/fcuny/.config/restic/password ExecStart=/usr/bin/restic --tag=home --exclude=/home/fcuny/.cache --exclude=/home/fcuny/.mozilla --exclude=/home/fcuny/.config/chromium backup /home/fcuny [Install] WantedBy=default.target