zabbix_agentd: Fix agent modules dir and few minor bugs

- Add agent modules-dir to backup
- Remove original, not used agent modules dir from rootfile
- Create modules-dir during install if it not already exists
- bugfix: Add existence check before creating log-dir, avoiding error
             messages if it already exists from a previous install
- bugfix: add extract_backup_includes to update.sh script to make
              sure backup includes exist when backup is taken.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
This commit is contained in:
Robin Roevens
2022-06-30 12:15:51 +02:00
committed by Peter Müller
parent 9497d862ba
commit 1d00837e7e
4 changed files with 6 additions and 4 deletions

View File

@@ -1,2 +1,3 @@
/etc/sudoers.d/zabbix
/etc/zabbix_agentd/*
/etc/zabbix_agentd/
/usr/lib/zabbix/