allow compatibility with RHEL7 and systemd