mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #160734 from vholer/gh-158802
nixos/mysqlBackup: set service Type
This commit is contained in:
commit
3ebe6c3491
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue