From 84030f392db02f46d170e7d74562d268f59bc4f2 Mon Sep 17 00:00:00 2001 From: lgromero Date: Mon, 24 Mar 2025 12:20:08 +0100 Subject: [PATCH] refs #1719 removes filebeat execution --- chroot-tasks.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/chroot-tasks.py b/chroot-tasks.py index 0a59c58..b47b4e3 100755 --- a/chroot-tasks.py +++ b/chroot-tasks.py @@ -162,16 +162,6 @@ def setup_filebeat(): with open('/etc/hosts', 'a') as f: f.write(f"{oglog_ip} oglog-os.mytld\n") - # Ejecutar Filebeat directamente sin systemd - subprocess.Popen([ - "/usr/bin/filebeat", - "-c", "/etc/filebeat/filebeat.yml", - "--path.home", "/usr/share/filebeat", - "--path.config", "/etc/filebeat", - "--path.data", "/var/lib/filebeat", - "--path.logs", "/var/log/filebeat" - ]) - print("Filebeat instalado y ejecutándose correctamente.") except subprocess.CalledProcessError as e: