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.
Additional bundles can be loaded in any of the defined runmodes by creating packages containing the crankstart config and dependent jars: /etc/sling/crank*/*.txt - crankstart commands required /opt/sling/contrib. - additional bundle dependencies
At start time, all /etc/sling/crank*/*.txt files are concatenated as defined by the /etc/sling/Makefile and sling is started with the runmode defined in /etc/default/sling. The init script link all the jars into one repo folder.
TODO: