1 2 3 4 5 6 7 8 9 10
[Unit] Description = Btrfs Backup over SSH ConditionUser = root ConditionFileNotEmpty = /etc/btrfs-backup/remotes/%I.json [Service] ExecStart = /root/src/local-btrfs-backup/push-btrfs %I.json [Install] WantedBy=default.target