]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
zabbix_agentd: Fix agent modules dir and few minor bugs
authorRobin Roevens <robin.roevens@disroot.org>
Thu, 30 Jun 2022 10:15:51 +0000 (12:15 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 6 Jul 2022 09:57:40 +0000 (09:57 +0000)
commit1d00837e7ec11cc8fd88f9bb0cbbfc152012b793
treeeceb9014709c251a2beac8178d2376d8491b780f
parent9497d862baa8c3ea632147527fe5af6efa28a387
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>
config/backup/includes/zabbix_agentd
config/rootfiles/packages/zabbix_agentd
src/paks/zabbix_agentd/install.sh
src/paks/zabbix_agentd/update.sh