mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update entrypoint.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user