Does Systemctl enable start a service?

Does Systemctl enable start a service?
Answer
systemctl enable configures the system to start the service at next reboot (with caveats around correct target states, etc). systemctl
start starts (activates) the service immediately. So if you want a service to start now and on every reboot then you need to both enable and start the service.
 

Tìm kiếm

Back
Top