generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cleanup script to kill ssh-server after run (#11)
- Loading branch information
1 parent
3c332d4
commit e5c88dc
Showing
8 changed files
with
3,839 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ node_modules/ | |
|
||
# Editors | ||
.vscode | ||
.idea | ||
|
||
# Logs | ||
logs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const execa = require('execa') | ||
|
||
async function run() { | ||
console.log('Stopping ssh-agent') | ||
|
||
await execa('kill -9 $(pidof ssh-agent)', { shell: true }); | ||
} | ||
|
||
run() |
Oops, something went wrong.