Step 6 of 7 · lab · 10 min
Service doesn't come up after reboot
After a planned reboot the demo-web service did not come back by itself. Make sure the next reboot does not take it down.
Situation
The server was rebooted overnight as planned. In the morning the demo-web service was not
running until the on-call engineer started it by hand. It is running now, but the next reboot
may leave the server without it again.
Task
- The
demo-webservice is running now. - At the next system boot
demo-webstarts by itself.
You do not need to reboot the machine to check: you can ask systemd about both states of the service.
The tools you need are already installed. There is no internet on this machine.
Lab · on your own
No commands are given in this lab: type them in the terminal yourself. Goals are checked on the machine after every command.
Goals
0 of 2-
The demo-web service is active — not done yet
-
The demo-web service is enabled at boot — not done yet
The machine is starting
Hints
0 of 3Lab goals
0 of 2-
The demo-web service is active — not done yet
-
The demo-web service is enabled at boot — not done yet
Goals are checked on the machine after every command.