mirror of
git://git.proxmox.com/git/pve-ha-manager.git
synced 2025-03-10 16:58:16 +03:00
Check if systemd is active by testing if the /run/systemd/system directory exists, just like debhelper generated code does, before running systemctl. Allows for setting up a package's build dependencies in containers not managed by systemd. Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> [TL: extend commit message and note that this fixes setting up the build env, not the build itself] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>