how long does it take for apache server restart code example
Example 1: restart apache
sudo systemctl restart apache2
# or
sudo service apache2 restart
Example 2: apache start stop restart
sudo service apache2 restart
sudo service apache2 stop
sudo service apache2 start