December 2018
Beginner
826 pages
22h 54m
English
Starting and enabling services at the same time is perfectly possible and is definitely preferable to rebooting a box to change a service's state.
This can be done easily by inserting --now to our enable command:
$ systemctl enable --now httpd
Effectively, we've run the following on one line:
$ systemctl enable httpd$ systemctl start httpd