diff options
| author | Silvan Mosberger <contact@infinisil.com> | 2021-08-11 20:28:30 +0200 |
|---|---|---|
| committer | Silvan Mosberger <contact@infinisil.com> | 2022-03-25 17:47:44 +0100 |
| commit | c70a466d21fbd72f73cfc263e93f967e79953e73 (patch) | |
| tree | b433402ef91dd0d296ce50f01448e24e9b8575de /pkgs/development/python-modules/python-mapnik | |
| parent | 4d60081494259c0785f7e228518fee74e0792c1b (diff) | |
nixos/systemd: Allow creation of unit directories
This patch allows creation of files like
/etc/systemd/system/user-.slice.d/limits.conf with
systemd.units."user-.slice.d/limits.conf" = {
text = ''
[Slice]
CPUAccounting=yes
CPUQuota=50%
'';
};
which previously threw an error
Also renames the systemd-unit-path test to sytsemd-misc, and extends it to
test that `systemd.units` can handle directories. In this case we make
sure that resource limits specified in user slices apply.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions
