SLING-4517 Add Jenkins build number as a part of the file name

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1670458 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: 0f85d0e0274f5e350262bf86a82d1d374c187a94
  1. src/
  2. pom.xml
  3. README.md
README.md

Apache Sling debian/ubuntu packaging

This is a work in progress .deb packaging for Sling. It provides basic init.d start/stop logrotate & sample sling config. The goal is to provide a generic yet configurable sling package to eliminate the need to build sling for in-house deployments.

To run this, and install using dpkg/apt commands, review /etc/default.sling config and run “service sling start”

Components used are:

Supported run modes are:

crank           - tar files for nodes and data
crank-s3        - tar files for nodes, s3 for data
crank-mongo     - mongo for nodes and data
crank-s3-mongo  - mongo for nodes, s3 for data

Each of these are supported by building crank files using the sling-s3 module to aggregate configuration templates into usable configurations.

  • SLING_EXEC=/opt/sling - Location for all binaries & scripts.
  • SLING_CFG=/etc/sling - Tree of config file templates from which final.crantstart files are built. Editing any of these config templates triggers a rebuild of the target/crank* files.
  • SLING_DEFAULTS=/etc/default/sling - Defaults file for location & path setup and to override any of the crank settings.
  • SLING_DATA=/var/lib/sling - Local sling data dir.
  • SLING_LOG_DIR=/var/log/sling - Sling log data.

TODO:

  • Support clustered configurations.