Application Control

Learn how to control and manage your running applications with Gophel CLI.

Starting Applications

Start a specific application:

Start a stopped application

gophel start <ID>

Start with specific port:

Start an application on a specific port

gophel start <ID> --port 8080
Stopping Applications

Stop a running application:

Stop a running application

gophel stop <ID>

Force stop an application:

Force stop an unresponsive application

gophel stop <ID> --force
Restarting Applications

Restart an application:

Restart a running application

gophel restart <ID>

Restart with new configuration:

Restart with new port and environment settings

gophel restart <ID> --port 8080 --env production
Application Status

Check application status:

View detailed status of an application

gophel status <ID>

List all applications:

View all applications and their status

gophel list
Best Practices
  • Always check application status before making changes
  • Use force stop only when necessary
  • Monitor application logs after control operations
  • Keep track of application IDs
  • Use appropriate port numbers