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: