From ceb0c8c11cb049548ed8fd7302d082e6527a2198 Mon Sep 17 00:00:00 2001 From: IvanMarts Date: Sat, 12 Apr 2025 21:26:27 +0200 Subject: [PATCH] Updated the zabbix agent2 config to use the new systemd service --- files/zabbix/agent2/config/zabbix_agent2.conf | 2 ++ files/zabbix/agent2/systemd/override.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/files/zabbix/agent2/config/zabbix_agent2.conf b/files/zabbix/agent2/config/zabbix_agent2.conf index c5d4c2c..210a3eb 100644 --- a/files/zabbix/agent2/config/zabbix_agent2.conf +++ b/files/zabbix/agent2/config/zabbix_agent2.conf @@ -1,3 +1,5 @@ +# It is managed by the Ansible playbook and should not be edited manually. +# This file is managed by Ansible. Do not edit manually. PidFile=/var/run/zabbix/zabbix_agent2.pid LogFile=/var/log/zabbix/zabbix_agent2.log LogFileSize=0 diff --git a/files/zabbix/agent2/systemd/override.conf b/files/zabbix/agent2/systemd/override.conf index df49b2f..c093a4e 100644 --- a/files/zabbix/agent2/systemd/override.conf +++ b/files/zabbix/agent2/systemd/override.conf @@ -1,3 +1,5 @@ +# It is managed by the Ansible playbook and should not be edited manually. +# This file is managed by Ansible. Do not edit manually. [Service] User=root Group=root \ No newline at end of file