5
0
mirror of git://git.proxmox.com/git/pve-ha-manager.git synced 2025-03-10 16:58:16 +03:00
Maximiliano Sandoval 5a82a001a5 d/postinst trigger: run systemctl only if systemd is available
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>
2025-03-03 09:44:44 +01:00
..
2022-07-22 09:22:52 +02:00
2024-11-20 21:11:24 +01:00
2021-05-24 11:37:01 +02:00