With the commands systemctl start apache2
and systemctl start apache2.service
, is there any difference between them?
What does the .service
mean? Does it do anything that systemctl start apache2
does not?
Or is apache2
just the shortened version of apache2.service
?
First link with Google
systemctl start why .service
has the answer. Here the copypasta :)No difference between them.
.service
is the unit file containing all information necessary to control the service (start, restart, stop, logging etc.)Yes,
apache2
is the shorter version ofapache2.service
for the question's context.