CLI Reference
runnem down
Stop one or all services in your project.
Usage
runnem down [service]
Description
The down
command stops services in your project. You can either stop all services or a specific service. When stopping services, runnem:
- Gracefully stops the specified service(s)
- Cleans up any processes using the service's ports
- Ensures all resources are properly released
Examples
# Stop all services
runnem down
# Stop a specific service
runnem down api
How it works
Service Shutdown:
- Sends SIGINT (Ctrl+C) to the service
- Waits for graceful shutdown
- Kills the service if it doesn't stop
Resource Cleanup:
- Detaches from screen sessions
- Kills any processes using the service's ports
- Removes temporary log files
Cross-Project Management:
- Can stop services from any project
- Maintains project isolation
- Prevents port conflicts
Service Status
During shutdown, you'll see status messages:
- 🛑 Stopped service
- 🧹 Cleaned up port X
- ⚠️ Service is not running
Best Practices
- Use
down
before switching projects - Stop specific services when making changes
- Check status messages for cleanup confirmation
- Use
kill
command for stubborn processes