graceful shutdown/reboot script? Topic is solved
graceful shutdown/reboot script?
Hello,
thanks for the great control panel, really love it's simplicity (do not need that softaculous, i use my own script to do wget latest wordpress, unpack, chmod etc.)
usually have:
... what is the most graceful way to shutdown/reboot vestacp?
or is a simple
just fine?
just askin'
thanks for the great control panel, really love it's simplicity (do not need that softaculous, i use my own script to do wget latest wordpress, unpack, chmod etc.)
usually have:
Code: Select all
/scripts/shutdown.sh
/scripts/reboot.sh
or is a simple
Code: Select all
sync; shutdown -h now;
just askin'
Re: graceful shutdown/reboot script?
alright i might as well answer my own question.
found:
which does:
so i would say:
is pretty fine.
found:
Code: Select all
/usr/local/vesta/bin/v-restart-system
Code: Select all
if [ "$restart" = 'yes' ]; then
/sbin/reboot
fi
Code: Select all
sync; shutdown -h now;