summaryrefslogtreecommitdiff
path: root/apache-spark/apache-spark-slave@.service
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-20 12:20:41 +0200
committerErich Eckner <git@eckner.net>2017-09-20 12:20:41 +0200
commit046b5d8334ec0b16253079407c6b1c652eb8b925 (patch)
treecd0941f169b77bf10bb78affa6ca3188c02d22e3 /apache-spark/apache-spark-slave@.service
parentc0a1033ef093daa270ec480effee6b709b3e8ab9 (diff)
downloadarchlinuxewe-046b5d8334ec0b16253079407c6b1c652eb8b925.tar.xz
apache-spark neu
Diffstat (limited to 'apache-spark/apache-spark-slave@.service')
-rw-r--r--apache-spark/apache-spark-slave@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/apache-spark/apache-spark-slave@.service b/apache-spark/apache-spark-slave@.service
new file mode 100644
index 000000000..453b3465c
--- /dev/null
+++ b/apache-spark/apache-spark-slave@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Apache Spark Standalone Master
+After=network.target
+
+[Service]
+User=apache-spark
+Group=apache-spark
+Environment=SPARK_LOG_DIR=/var/log/apache-spark
+ExecStart=/opt/apache-spark/sbin/run-slave.sh %i
+
+[Install]
+WantedBy=multi-user.target
+DefaultInstance=127.0.0.1:7077