%post

if [ x"$(pidof systemd >/dev/null && echo yes || echo no)" = "xyes" ]; then
    systemctl daemon-reload
fi
