Merge pull request #160734 from vholer/gh-158802

nixos/mysqlBackup: set service Type
This commit is contained in:
Aaron Andersen 2022-02-19 10:58:23 -05:00 committed by GitHub
commit 3ebe6c3491
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,9 +113,10 @@ in
};
};
services.mysql-backup = {
description = "Mysql backup service";
description = "MySQL backup service";
enable = true;
serviceConfig = {
Type = "oneshot";
User = cfg.user;
};
script = backupScript;