Start Manually
pm2 start /home/dspace/dspace-angular-dspace-9.2/dspace-
ui.json
Find PM2 binary path
which pm2
Add DAILY restart job (example: 2:00 AM)
0 2 * * * /usr/bin/pm2 restart
/home/dspace/dspace-angular-dspace-9.2/dspace-ui.json >>
/home/dspace/pm2-restart.log 2>&1
Ensure
PM2 starts on reboot
pm2
startup
pm2 save
No comments:
Post a Comment