Update entrypoint.sh

This commit is contained in:
Stefan Pejcic
2024-08-07 14:58:36 +02:00
committed by GitHub
parent 9c52ff0673
commit 3bc26f615d

View File

@@ -122,6 +122,16 @@ fi
# pm2
if [ -s /root/.pm2/dump.pm2 ]; then
echo "There are saved NodeJS/Python applications, starting them.."
pm2 resurrect
else
echo "No saved NodeJS/Python applications to run. Skipping 'pm2 resurrect'."
fi
# sudo
if grep -q 'SUDO="YES"' /etc/entrypoint.sh; then