Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Prozessmanagement auf dem VPS.
imap-sync
src/sync/worker.js
smtp-api
src/api/server.js
# Status aller Prozesse pm2 status # Logs anzeigen (alle) pm2 logs # Logs eines Prozesses pm2 logs imap-sync --lines 50 pm2 logs smtp-api --lines 50 # Prozess neu starten pm2 restart imap-sync pm2 restart smtp-api # Alle neu starten pm2 restart all # Prozess stoppen pm2 stop imap-sync # Status speichern (für Auto-Start nach Reboot) pm2 save # Monitoring (Live-Dashboard) pm2 monit
cd ~/email-worker git pull origin main # Falls Code über GitHub aktualisiert wird pm2 restart all
pm2 delete all pm2 start src/sync/worker.js --name imap-sync pm2 start src/api/server.js --name smtp-api pm2 save
pm2 startup
systemctl status pm2-deploy