snapper: fix "type=oneshot" error in snapper-boot.service
This commit is contained in:
parent
05cbcd8653
commit
7a6c0bb468
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ in
|
|||
description = "Take snapper snapshot of root on boot";
|
||||
inherit documentation;
|
||||
serviceConfig.ExecStart = "${pkgs.snapper}/bin/snapper --config root create --cleanup-algorithm number --description boot";
|
||||
serviceConfig.type = "oneshot";
|
||||
serviceConfig.Type = "oneshot";
|
||||
requires = [ "local-fs.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
unitConfig.ConditionPathExists = "/etc/snapper/configs/root";
|
||||
|
|
Loading…
Reference in a new issue