diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2022-11-30 16:11:13 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2022-12-07 15:57:44 +0100 |
commit | 43cb1eb2f9b02356f130637dabcdc7fe10ee20fe (patch) | |
tree | 4de1bb5c15135edc1c682328c026eaa269102eca /nixos/modules/services/printing | |
parent | 47d9e7d3d7d8ad19e29be1445171726bf7d602b6 (diff) |
nixos/cupsd: stop managing /run/cups directory
The directory is already set up by cups.socket: managing it with
RuntimeDirectory in cups.service is unnecesary and has the unwanted
effect that upon stopping cupsd systemd will remove it. This includes
the /run/cups/cups.sock socket, so it breaks socket activation.
Diffstat (limited to 'nixos/modules/services/printing')
-rw-r--r-- | nixos/modules/services/printing/cupsd.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix index ae59dcc226de..009f0fb030f7 100644 --- a/nixos/modules/services/printing/cupsd.nix +++ b/nixos/modules/services/printing/cupsd.nix @@ -395,10 +395,7 @@ in ''} ''; - serviceConfig = { - PrivateTmp = true; - RuntimeDirectory = [ "cups" ]; - }; + serviceConfig.PrivateTmp = true; }; systemd.services.cups-browsed = mkIf avahiEnabled |