Skip to content

Instantly share code, notes, and snippets.

@saml
Created September 7, 2012 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saml/3666549 to your computer and use it in GitHub Desktop.
Save saml/3666549 to your computer and use it in GitHub Desktop.
description "CQ Author"
author "saml"
start on runlevel [2345]
stop on runlevel [016]
script
sudo -u sam "/home/sam/opt/java/bin/java" -server -Dsling.run.modes=author,localdev -Xmx4096m -XX:PermSize=256m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:-UseGCOverheadLimit -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=30303,suspend=n -Dcom.day.crx.persistence.tar.IndexMergeDelay=0 -jar "/media/data/cq/cq-quickstart-5.4.0.jar" -p 4502 -v -nobrowser
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment