summarylogtreecommitdiffstats
path: root/apache-spark-master.service
blob: 69f2a3c34eb7690a29ab623cda9d66b9cb1416d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Apache Spark Standalone Master
After=network.target

[Service]
Type=forking
User=apache-spark
Group=apache-spark
Environment=SPARK_LOG_DIR=/var/log/apache-spark
ExecStart=/opt/apache-spark/sbin/start-master.sh
ExecStop=/opt/apache-spark/sbin/stop-master.sh
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target