* Drop references to activation scriptlets that no longer exist.
svn path=/nixos/trunk/; revision=33110
This commit is contained in:
parent
6b2dfbda00
commit
3ddbe0f9fb
@ -70,7 +70,7 @@ in
|
|||||||
|
|
||||||
services.cron.systemCronJobs = map mysqlBackupCron config.services.mysqlBackup.databases;
|
services.cron.systemCronJobs = map mysqlBackupCron config.services.mysqlBackup.databases;
|
||||||
|
|
||||||
system.activationScripts.mysqlBackup = stringAfter [ "stdio" "defaultPath" "systemConfig" "users" ]
|
system.activationScripts.mysqlBackup = stringAfter [ "stdio" "users" ]
|
||||||
''
|
''
|
||||||
mkdir -m 0700 -p ${config.services.mysqlBackup.location}
|
mkdir -m 0700 -p ${config.services.mysqlBackup.location}
|
||||||
chown ${config.services.mysqlBackup.user} ${config.services.mysqlBackup.location}
|
chown ${config.services.mysqlBackup.user} ${config.services.mysqlBackup.location}
|
||||||
|
@ -56,7 +56,7 @@ in
|
|||||||
config = mkIf config.services.postgresqlBackup.enable {
|
config = mkIf config.services.postgresqlBackup.enable {
|
||||||
services.cron.systemCronJobs = map postgresqlBackupCron config.services.postgresqlBackup.databases;
|
services.cron.systemCronJobs = map postgresqlBackupCron config.services.postgresqlBackup.databases;
|
||||||
|
|
||||||
system.activationScripts.postgresqlBackup = stringAfter [ "stdio" "defaultPath" "systemConfig" "users" ]
|
system.activationScripts.postgresqlBackup = stringAfter [ "stdio" "users" ]
|
||||||
''
|
''
|
||||||
mkdir -m 0700 -p ${config.services.postgresqlBackup.location}
|
mkdir -m 0700 -p ${config.services.postgresqlBackup.location}
|
||||||
chown root ${config.services.postgresqlBackup.location}
|
chown root ${config.services.postgresqlBackup.location}
|
||||||
|
Loading…
Reference in New Issue
Block a user