In your SSH, as root, run:
Code: Select all
echo "FILEMANAGER_KEY='FREEFM'" >> /usr/local/vesta/conf/vesta.conf
FileManager will appear in the top menu.
In your SSH, as root, run:
Code: Select all
echo "FILEMANAGER_KEY='FREEFM'" >> /usr/local/vesta/conf/vesta.conf
Code: Select all
apt_running=$(ps -Af | grep 'apt' | grep -v 'grep apt' | wc -l)
if [ "$apt_running" -gt 0 ]; then
echo "apt is running, maybe apt upgrade, we should not restart services";
sleep 120,
continue;
fi