Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use the shutdown -r and reboot commands on VPS v2?

commands Reboot shutdown VPs
0
Posted

Can I use the shutdown -r and reboot commands on VPS v2?

0

Your VPS v2 is running a Virtual Kernel. To run the shutdown or reboot commands will effect the shutting down or the rebooting of your virtual kernel and the applications running on it. The shutdown command attempts to cleanly halt and restart services on your VPS v2, including execution of the commands in the /etc/rc.shutdown script. The shutdown procedure then kills any processes that do not exit cleanly, and restarts the init process (the init process reads the /usr/local/etc/rc.d directory scripts to start system services and applications). Because you do not have access to the physical machine level, you can not completely halt your VPS v2 (the -h option for the shutdown command is disabled), but you do have access to stop/start/restart all the services on your account. The reboot command differs from shutdown because it does not attempt a clean shutdown of your system. Instead, reboot simply kills all running processes and then runs init (which will run the /usr/local/etc/rc.d di

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123