public function init()
    {
        // initialize the service class
        $this->service = $this->newService('AppserverIo\Appserver\Core\Api\ContainerService');

        //We will check the distribution type by it's release file, as we have problems doing so using php_uname('s').
        //These mappings are for the most common platforms. If others are needed see the link below
        //@link http://linuxmafia.com/faq/Admin/release-files.html
        $this->distroMapping = array(
            "Arch" => "arch-release",
            "Debian" => "debian_version",
            "Fedora" => "fedora-release",
            "Ubuntu" => "lsb-release",
            'Redhat' => 'redhat-release',
            'CentOS' => 'centos-release'
        );

        // initialize the available restart commands
        $this->restartCommands = array(
            DeploymentScanner::DARWIN => DeploymentScanner::LAUNCHD_INIT_STRING,
            DeploymentScanner::WINDOWS_NT => DeploymentScanner::WIN_NT_INIT_STRING,
            'Debian' . DeploymentScanner::LINUX => array(
                6 => DeploymentScanner::SYSTEMV_INIT_STRING,
                7 => DeploymentScanner::SYSTEMV_INIT_STRING,
                'default' => DeploymentScanner::SYSTEMD_INIT_STRING
            ),
            'Ubuntu' . DeploymentScanner::LINUX => array(
                12 => DeploymentScanner::SYSTEMV_INIT_STRING,
                13 => DeploymentScanner::SYSTEMV_INIT_STRING,
                14 => DeploymentScanner::SYSTEMV_INIT_STRING,
                'default' => DeploymentScanner::SYSTEMD_INIT_STRING
            ),
            'CentOS' . DeploymentScanner::LINUX => array(
                5 => DeploymentScanner::SYSTEMV_INIT_STRING,
                6 => DeploymentScanner::SYSTEMV_INIT_STRING,
                'default' => DeploymentScanner::SYSTEMD_INIT_STRING
            ),
            'Fedora' . DeploymentScanner::LINUX => DeploymentScanner::SYSTEMD_INIT_STRING
        );
    }