Skip to main content

Module stop

Module stop 

Source
Expand description

Stop command - Graceful process termination (SIGTERM)

Usage: proc stop 1234 # Stop PID 1234 proc stop :3000 # Stop process on port 3000 proc stop node # Stop the processes named node proc stop node –cmd # … or with node anywhere in their command line proc stop 1234 5678 # Stop several targets: separate arguments proc stop :3000 :8080 node # Mixed targets (port + port + name)

Commas still work (proc stop :3000,:8080) but are deprecated.

Structs§

StopCommand
Stop process(es) gracefully with SIGTERM