How do I restart google cloud service in shell? How do I restart google cloud service in shell? apache apache

How do I restart google cloud service in shell?


You need to restart web server, this case it is apache

sudo apachectl -k restart


To restart the server you can use

"shutdown -r now" Or"/sbin/shutdown -r now"

Make sure you are login in root account.