If you install Cortex from Yum on Centos7 you will most likely receive this error:
/etc/init.d/cortex: line 26: /lib/init/vars.sh: No such file or directory
This is the fix:
perl -pi -e 's|. /lib/init/vars.sh|[ -r /lib/init/vars.sh ] && . /lib/init/vars.sh|g' /etc/init.d/cortex
perl -pi -e 's|. /lib/lsb/init-functions|[ -r /etc/init.d/functions ] && . /etc/init.d/functions|g' /etc/init.d/cortex