Skip to content

Commit 52b5492

Browse files
authored
Merge pull request #44 from heymage/workflow/list-kill-processes-at-port
workflow: add list and kill processes at port workflows
2 parents 102bff5 + 77ed27d commit 52b5492

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Kill processes at port
2+
description: Kill processes at a port.
3+
author: Maurice Gerhardt
4+
author_url: https://github.com/heymage
5+
tags: ["macos", "shell"]
6+
command: kill $(lsof -t -i:{{port}})
7+
arguments:
8+
- name: port
9+
description: The port where processes should be killed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: List processes at port
2+
description: List processes at a port to see if there are running processes.
3+
author: Maurice Gerhardt
4+
author_url: https://github.com/heymage
5+
tags: ["macos", "shell"]
6+
command: lsof -i:{{port}}
7+
arguments:
8+
- name: port
9+
description: The port that should be checked

0 commit comments

Comments
 (0)