Running a Service at Boot
[Unit]
Description=Spark service
[Service]
ExecStart=/path/to/spark/sbin/start-all.sh
[Install]
WantedBy=multi-user.targetchmod u+x /path/to/spark/sbin/start-all.shsudo systemctl start myfirstsudo systemctl enable myfirstsudo systemctl stop myfirst
Notes
Moreover
Further reading
Last updated