#NEWLINE# def _service_is_sysv( name ) : #NEWLINE# #INDENT# "\n    A System-V style service will have a control script in\n    /etc/init.d. We make sure to skip over symbolic links that point\n    to Upstart's /lib/init/upstart-job, and anything that isn't an\n    executable, like README or skeleton.\n    " #NEWLINE# script = '/etc/init.d/{0}' . format ( script ) #NEWLINE# return ( ( not _service_is_upstart ( name ) ) and os . access ( script , os . X_OK ) )