grr-server for Debian
---------------------

This package is an adaptation of the .deb package that is distributed
by the GRR authors and targeted at Ubuntu 16.04 and which could not be
built from source using standard Debian/Ubuntu build tools.

Differences:

- This package does not rely on a Python virtualenv for the server.

- Several default paths have been changed for FHS compliance:

  - Configuration: /etc/grr.

  - SQLite datastore: /var/lib/grr-server/datastore.

  - Log files: /var/log/grr-server

- The server does not run as root but as system user `_grr`.

- The original package contains some binaries for Windows and MacOSX
  which cannot yet be built from source. Those can be automatically
  downloaded (see below).

Initial Configuration
---------------------

Please run `grr_config_updater initialize` as the system user `_grr`,
e.g.:

    $ sudo -u _grr grr_config_updater initialize

This will configure the data store, URLs for the server and
Administration URI, and addresses for notification e-mails by writing
to /etc/grr/server.local.yaml.

The script will also offer to download client templates, using pip,
and place them into /usr/share/grr-server/grr-response-templates. It
will also download some extra Windows and MacOSX binaries from the GRR
GitHub repository that cannot be shipped with this package. Those
extra downloaded files will be removed when the grr-server package is
removed.
