Replace systemctl with direct command for centos7