only if defined (centos support for upstart)