How do I run systemd on Ubuntu?

Lê Như Ý

New member
How do I run systemd on Ubuntu?
Answer
Now, take a few more steps to enable and use the .service file:
  1. Place it in /etc/systemd/system folder with say a name of myfirst.service.
  2. Make sure that your script executable with: chmod u+x /path/to/spark/sbin/start-all.sh.
  3. Start it: sudo systemctl start myfirst.
  4. Enable it to run at boot: sudo systemctl enable myfirst.
 

Tìm kiếm

Back
Top