===========================================================
This document presents an overview about the administration
and configuration of CrateDB specific to operating systems
based on Redhat Linux.
===========================================================

For general information about crate please refer to the
README file::

    /usr/share/doc/crate-<version>/README

Starting and Stopping CrateDB
=============================

Using init
----------

You can use the following command to start crate::

    >>> service crate start

After starting crate the status should be 'Running'::

    >>> service crate status

To stop crate use::

    >>> service crate stop

Using systemd
-------------

Use the ``crate.service`` unit for controlling crate::

    >>> systemctl start crate.service

    >>> systemctl status crate.service

    >>> systemctl stop crate.service


Configuration Files
===================

The crate configuration files can be found under '/etc/crate'.

CrateDB default settings are specified within crate.yml::

    /etc/crate/crate.yml

CrateDB logging can be configured by editing the logging.yml file::

    /etc/crate/logging.yml

CHANGES
=======

Please refer to::

    /usr/share/doc/crate-<version>/CHANGES

LICENSE
=======

Copyright 2013-2017 Crate.io Inc. or its affiliates ("Crate.io")

Licensed to Crate.io Inc. or its affiliates (referred to in this notice
as "Crate.io") under one or more contributor license agreements.  See the
NOTICE file distributed with this work for additional information regarding
copyright ownership.

Crate.io licenses this software to you under the Apache License, Version
2.0.  However, if you have executed another commercial license agreement
with Crate.io these terms will supersede the license and you may use the
software solely pursuant to the terms of the relevant commercial agreement.

The full Text of the Apache License, Version 2.0 and the NOTICE file can
be found under ::

    /usr/share/doc/crate-<version>/[LICENSE|NOTICE]
