Skip to main content

orphelix delete

Remove Orphelix application from pm2 process manager. This completely removes the process from pm2’s list.

Usage

orphelix delete [options]

Options

OptionAliasDescriptionDefault
--name-nInstance nameorphelix

Examples

Delete Default Instance

orphelix delete
Removes:
  • orphelix (main app)
  • orphelix-notifications (worker)

Delete Named Instance

orphelix delete --name prod

Warning

This command removes the process from pm2 but does not delete:
  • Database file (orphelix.db)
  • Application files
  • Backups
To completely uninstall, see Uninstallation.

What Happens

  1. Stops the running process
  2. Removes from pm2 process list
  3. Cleans up pm2 logs for this process
  4. Removes notification worker

Output

$ orphelix delete

🗑️  Removing Orphelix from pm2...
[PM2] Applying action deleteProcessId on app [orphelix](ids: [ 0 ])
[PM2] [orphelix](0) ✓
 Orphelix removed from pm2

Restart After Delete

To start again, simply run:
orphelix start
This creates a fresh pm2 process (database and settings persist).
  • stop - Stop without removing
  • start - Start new instance
  • list - View all instances