remove mail on restic-all
This commit is contained in:
parent
b9e398f031
commit
dd059f31b0
hosts/hetzner-arm/profiles
|
@ -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
|
||||
'')
|
||||
];
|
||||
|
||||
|
|
0
hosts/hetzner-arm/profiles/storage.nix
Normal file
0
hosts/hetzner-arm/profiles/storage.nix
Normal file
Loading…
Reference in a new issue