diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2015-12-21 17:31:09 +0100 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2015-12-21 18:20:52 +0100 |
commit | 2b9b9dc611e10fa6d800970223ed87cf66ee3819 (patch) | |
tree | 869293bbfeaf292bb35e9ae9100874b13532d1b9 /nixos/modules/services/printing/cupsd.nix | |
parent | cdd7310a503481e3c40266be45b6b8256d95ecbd (diff) | |
download | nixlib-2b9b9dc611e10fa6d800970223ed87cf66ee3819.tar nixlib-2b9b9dc611e10fa6d800970223ed87cf66ee3819.tar.gz nixlib-2b9b9dc611e10fa6d800970223ed87cf66ee3819.tar.bz2 nixlib-2b9b9dc611e10fa6d800970223ed87cf66ee3819.tar.lz nixlib-2b9b9dc611e10fa6d800970223ed87cf66ee3819.tar.xz nixlib-2b9b9dc611e10fa6d800970223ed87cf66ee3819.tar.zst nixlib-2b9b9dc611e10fa6d800970223ed87cf66ee3819.zip |
nixos cups-browsed: better link to avahi-daemon
Link cups browsed daemon to reload or exit with the avahi-daemon.
Diffstat (limited to 'nixos/modules/services/printing/cupsd.nix')
-rw-r--r-- | nixos/modules/services/printing/cupsd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix index 69c76cf97cfd..0fe25b66da08 100644 --- a/nixos/modules/services/printing/cupsd.nix +++ b/nixos/modules/services/printing/cupsd.nix @@ -247,6 +247,8 @@ in wantedBy = [ "multi-user.target" ]; wants = [ "cups.service" "avahi-daemon.service" ]; + bindsTo = [ "cups.service" "avahi-daemon.service" ]; + partOf = [ "cups.service" "avahi-daemon.service" ]; after = [ "cups.service" "avahi-daemon.service" ]; path = [ cups ]; |