mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-29 04:26:32 +03:00
added deps for activation scripts of backup modules
svn path=/nixos/trunk/; revision=17714
This commit is contained in:
parent
8d9c51a991
commit
81e37d8475
3 changed files with 6 additions and 6 deletions
|
@ -56,10 +56,10 @@ in
|
|||
systemCronJobs = map postgresqlBackupCron config.services.postgresqlBackup.databases;
|
||||
};
|
||||
|
||||
system.activationScripts.postgresqlBackup = pkgs.stringsWithDeps.noDepEntry ''
|
||||
system.activationScripts.postgresqlBackup = pkgs.stringsWithDeps.fullDepEntry ''
|
||||
mkdir -m 0700 -p ${config.services.postgresqlBackup.location}
|
||||
chown root ${config.services.postgresqlBackup.location}
|
||||
'';
|
||||
'' [ "stdio" "defaultPath" "systemConfig" "users" ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue