fix systemd support on CentOS/RHEL 7