Skip to content

Instantly share code, notes, and snippets.

@ashrafuzzaman
Created October 30, 2014 11:32
Show Gist options
  • Save ashrafuzzaman/b3559b61c31f1a1d34d6 to your computer and use it in GitHub Desktop.
Save ashrafuzzaman/b3559b61c31f1a1d34d6 to your computer and use it in GitHub Desktop.
# File /etc/init/analytics-spark.conf
description "Analytics spark"
start on runlevel [2345]
stop on runlevel [!2345]
# respawn
env AWS_REGION='us-east-1'
env KINESIS_STREAM_NAME='xxxx'
limit nofile 50000 50000
chdir /opt/test/spark
exec sbt clean run | logger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment