summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-28 15:56:51 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-28 15:56:51 +0100
commitc926168400f2bbc584cd58119b9f16f1f7d74e02 (patch)
tree934c1503ef5e31627d3746a7929f425f5aaea32b /data/live-build-config
parent6bf09791f97fae75019fa4d28966c4d013541b31 (diff)
downloadvyos-build-c926168400f2bbc584cd58119b9f16f1f7d74e02.tar.gz
vyos-build-c926168400f2bbc584cd58119b9f16f1f7d74e02.zip
services: disable telegraf by default
Commit 5bd60a745de22 ("Add telegraf agent (experimentally)") added the agent to the rolling ISO. The telegraf daemon was thus always started by default and simply consuming RAM without doing anything useful. As all VyOS servcies are disabled by default, so is telegraf. If you wan't to experiment with it, you can simply start and enable the service on your system by: systemctl enable telegraf.service systemctl start telegraf.service
Diffstat (limited to 'data/live-build-config')
-rwxr-xr-xdata/live-build-config/hooks/live/18-enable-disable_services.chroot1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
index b401d560..25d1180f 100755
--- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot
+++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
@@ -48,6 +48,7 @@ systemctl disable dropbear.service
systemctl disable fastnetmon.service
systemctl disable ocserv.service
systemctl disable tuned.service
+systemctl disable telegraf.service
echo I: Enabling services
systemctl enable ssh-session-cleanup.service