diff options
Diffstat (limited to 'apache-spark/apache-spark-master.service')
-rw-r--r-- | apache-spark/apache-spark-master.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apache-spark/apache-spark-master.service b/apache-spark/apache-spark-master.service new file mode 100644 index 00000000..b8bc98bc --- /dev/null +++ b/apache-spark/apache-spark-master.service @@ -0,0 +1,12 @@ +[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-master.sh + +[Install] +WantedBy=multi-user.target |