Created
October 30, 2014 11:32
-
-
Save ashrafuzzaman/b3559b61c31f1a1d34d6 to your computer and use it in GitHub Desktop.
This file contains 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
# 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