remove mail on restic-all

This commit is contained in:
chaos 2025-01-30 15:11:25 +00:00
parent b9e398f031
commit dd059f31b0
No known key found for this signature in database
2 changed files with 0 additions and 2 deletions

View file

@ -21,14 +21,12 @@ in {
${concatStringsSep "\n" (forEach (attrNames config.services.restic.backups) (
name: "restic-${name} $@"
))}
machinectl shell mail /usr/bin/env restic-mail $@
'')
(pkgs.writeShellScriptBin "restic-backup-all" ''
${concatStringsSep "\n" (forEach (attrNames config.services.restic.backups) (
name: "systemctl start restic-backups-${name}.service"
))}
machinectl shell mail /usr/bin/env systemctl start restic-backups-mail.service
'')
];

View file