Skip to content

Commit 64ef4e7

Browse files
MostAwesomeDudefpletz
authored andcommittedNov 24, 2016
nixos/collectd: Fix syntax error on some hostnames. (#20694)
Without this, hostnames that e.g. end in digits will cause syntax errors for collectd. (cherry picked from commit 27f1def)
1 parent 0454ef9 commit 64ef4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎nixos/modules/services/monitoring/collectd.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let
99
BaseDir "${cfg.dataDir}"
1010
PIDFile "${cfg.pidFile}"
1111
AutoLoadPlugin ${if cfg.autoLoadPlugin then "true" else "false"}
12-
Hostname ${config.networking.hostName}
12+
Hostname "${config.networking.hostName}"
1313
1414
LoadPlugin syslog
1515
<Plugin "syslog">

0 commit comments

Comments
 (0)
Please sign in to comment.