]> git.proxmox.com Git - pmg-api.git/commit - src/bin/pmgpolicy
pmgpolicy, pmg-smtp-filter: set sensible PATH
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 28 Jun 2023 15:38:04 +0000 (17:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Jun 2023 15:40:33 +0000 (17:40 +0200)
commitc2c21ccf6e4dccb46a329bbe1e24c35267470352
tree691a76a5fcc3bbaa3b9f76e3c8eb39ad75f69352
parent35be2b3a046a63385e88be3d70b9454dc02bec3d
pmgpolicy, pmg-smtp-filter: set sensible PATH

these 2 services are the only ones that don't have this set (the
additions are copied over from pmgproxy)

with bookworm pmgpolicy throws an error (when invoking 'journalctl'
via run_command (in PMG::Utils::scan_journal_for_rbl_rejects)

did not come to a conclusion why it just resurfaced now, and ran fine
in a bullseye environment

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/bin/pmg-smtp-filter
src/bin/pmgpolicy