Created
March 10, 2015 05:22
-
-
Save feniix/384b9a275cff3dff7830 to your computer and use it in GitHub Desktop.
upstart-chronos.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# chronos | |
# | |
# This upstart job configuration is managed by Puppet. | |
# Do not edit this file. Your changes will be lost. | |
description "Chronos" | |
version "2.3.2" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 5 10 | |
console log | |
script | |
ulimit -n 65636 | |
ulimit -s 10240 | |
ulimit -c unlimited | |
. /etc/chronos-env | |
export MESOS_ZK_URL | |
export CHRONOS_ZK_URL | |
echo "master: $MESOS_ZK_URL chronos: $CHRONOS_ZK_URL" | |
exec java -Djava.library.path=/usr/lib -Djava.util.logging.SimpleFormatter.format=%2$s%5$s%6$s%n -Xmx512m -cp /usr/bin/chronos org.apache.mesos.chronos.scheduler.Main --master zk://$MESOS_ZK_URL --zk_hosts zk://$CHRONOS_ZK_URL --http_port 4400 | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment