Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

restart apache ubuntu

# Restart apche 2 server.
sudo service apache2 restart 
or
sudo systemctl restart apache2


# Gracefully reloading is a bit faster, and there's no downtime
sudo service apache2 reload
 
PREVIOUS NEXT
Tagged: #restart #apache #ubuntu
ADD COMMENT
Topic
Name
3+9 =