nixos/borgbackup: specify systemd WorkingDirectory
This commit is contained in:
parent
8d3b180052
commit
62ab77a322
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ let
|
|||
serviceConfig = {
|
||||
# The service's only task is to ensure that the specified path exists
|
||||
Type = "oneshot";
|
||||
WorkingDirectory = cfg.path;
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue