Skip to main content

orphelix stop

Stop the running Orphelix application and notification worker.

Usage

orphelix stop [options]

Options

OptionAliasDescriptionDefault
--name-nInstance name to stoporphelix

Examples

Stop Default Instance

orphelix stop
Stops both:
  • orphelix (main application)
  • orphelix-notifications (notification worker)

Stop Named Instance

orphelix stop --name prod
Stops:
  • orphelix-prod
  • orphelix-prod-notifications

What Happens

  1. Sends stop signal to pm2 process
  2. Gracefully shuts down Next.js server
  3. Stops notification worker
  4. Process remains in pm2 list (status: stopped)

Output

$ orphelix stop

🛑 Stopping Orphelix...
[PM2] Applying action stopProcessId on app [orphelix](ids: [ 0 ])
[PM2] [orphelix](0) ✓
🔔 Notification worker stopped
 Orphelix stopped