Skip to content

Commit aecb53a

Browse files
niklasthorildhnyman
authored andcommitted
telegraf: set home variable in uci-defaults script
avoid a non-critical error caused by getent not being installed Signed-off-by: Niklas Thorild <[email protected]>
1 parent 10febdb commit aecb53a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/telegraf/files/etc/uci-defaults/90-telegraf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
[ -f /etc/telegraf.conf ] && exit 0
55

6-
/usr/bin/telegraf config create > /etc/telegraf.conf
6+
HOME=/root /usr/bin/telegraf config create > /etc/telegraf.conf
77

88
exit 0

0 commit comments

Comments
 (0)