Commit faba6fb9a95a

Vincent Demeester <vincent@sbr.pm>
2018-12-24 15:16:44
honshu: add onfailure on vrsync too
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 9e03761
Changed files (1)
machine
machine/honshu.nix
@@ -46,6 +46,7 @@ vincent@synodine.local:/volume1/backup/drive/ /run/media/vincent/Toshito/backup/
       Type = "oneshot";
       ExecStart = "${pkgs.vrsync}/bin/vrsync";
       Environment = "PATH=/run/current-system/sw/bin";
+      OnFailure = "status-email-root@%n.service";
     };
   };
   systemd.timers.vrsync = {