summaryrefslogtreecommitdiff
path: root/apache-spark/apache-spark-slave@.service
blob: 453b3465ce36c4b161b8ef92910edf4ff3913925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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