pm2 resets list after reboot

  • hello i have an issue.

    if i type in my terminal: pm2 start
    and then after it typed: pm2 save
    so the script is in the pm2 list and should be saved.
    if i reboot my raspberrypi my pm2 list gets cleared so it wont autoboot my file.

    if there a way to fix this issue?