nixos/pykms: rename systemd deprecated MemoryLimit to MemoryMax.

This commit is contained in:
Vanilla 2023-02-06 11:25:48 +08:00
parent 0591d6b57b
commit 0b426cd8e2
No known key found for this signature in database
GPG key ID: 3750028ED04FA42E

View file

@ -85,7 +85,7 @@ in
WorkingDirectory = libDir; WorkingDirectory = libDir;
SyslogIdentifier = "pykms"; SyslogIdentifier = "pykms";
Restart = "on-failure"; Restart = "on-failure";
MemoryLimit = cfg.memoryLimit; MemoryMax = cfg.memoryLimit;
}; };
}; };
}; };