1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-17 17:42:45 +00:00

nixos/collectd: Fix syntax error on some hostnames. (#20694)

Without this, hostnames that e.g. end in digits will cause syntax errors for
collectd.
This commit is contained in:
Corbin Simpson 2016-11-24 12:47:17 -08:00 committed by Franz Pletz
parent 39a0d766db
commit 27f1def068

View file

@ -9,7 +9,7 @@ let
BaseDir "${cfg.dataDir}"
PIDFile "${cfg.pidFile}"
AutoLoadPlugin ${if cfg.autoLoadPlugin then "true" else "false"}
Hostname ${config.networking.hostName}
Hostname "${config.networking.hostName}"
LoadPlugin syslog
<Plugin "syslog">