summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-01-02 00:35:42 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-09-06 00:14:42 +0200
commitdb86b03b1c5b3940c7daf4a03dac364861fcead3 (patch)
tree9e0421082fcd8777699e8a1a57f328e52f4cba34
parent1d263f3776bf31f48fbab34c91592f8e55665a0b (diff)
downloadnixpkgs-db86b03b1c5b3940c7daf4a03dac364861fcead3.tar
nixpkgs-db86b03b1c5b3940c7daf4a03dac364861fcead3.tar.gz
nixpkgs-db86b03b1c5b3940c7daf4a03dac364861fcead3.tar.bz2
nixpkgs-db86b03b1c5b3940c7daf4a03dac364861fcead3.tar.lz
nixpkgs-db86b03b1c5b3940c7daf4a03dac364861fcead3.tar.xz
nixpkgs-db86b03b1c5b3940c7daf4a03dac364861fcead3.tar.zst
nixpkgs-db86b03b1c5b3940c7daf4a03dac364861fcead3.zip
nixos/apcupsd: add systemd documentation hint
systemctl has the ability to display a list of documentation URLs in the
output of "systemctl status <service-name>".
-rw-r--r--nixos/modules/services/monitoring/apcupsd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/apcupsd.nix b/nixos/modules/services/monitoring/apcupsd.nix
index 6cc0c122ec6..ffa7be7dd30 100644
--- a/nixos/modules/services/monitoring/apcupsd.nix
+++ b/nixos/modules/services/monitoring/apcupsd.nix
@@ -161,6 +161,7 @@ in
         # systemd kills it with SIGKILL.
         TimeoutStopSec = 5;
       };
+      unitConfig.Documentation = "man:apcupsd(8)";
     };
 
     # A special service to tell the UPS to power down/hibernate just before the