Use systemctl command to manage service

systemd has been used as a default init system since Ubuntu 16.04 .

Change-Id: I1c69c923b228bae933604c9825e24e6391dcdf20
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-07-23 11:53:54 +09:00
parent 6ed89e8f51
commit 6df487336e

View File

@@ -203,6 +203,6 @@ After a successful login bring the port back - it will continue your session.
- If you would like to manually restart the apache server,
open a terminal and run::
$ sudo service apache2 restart
$ sudo systemctl restart apache2
*(if not under Ubuntu, replace "sudo" with an identical command)*