summaryrefslogtreecommitdiff
path: root/app/relay/remote.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-27 04:33:08 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-27 04:33:08 +0200
commit9bb63160cc48111b0a57acaed85956cb9b82c59d (patch)
tree3ae9c28679f84f0f239f3b84bac33fe4f7402bc6 /app/relay/remote.js
parent9e08754fa2b4fde9b060606fe5851f31590690d6 (diff)
stop a running process, if you have the uuid
Diffstat (limited to 'app/relay/remote.js')
-rw-r--r--app/relay/remote.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/relay/remote.js b/app/relay/remote.js
index 5979c68..c66929a 100644
--- a/app/relay/remote.js
+++ b/app/relay/remote.js
@@ -46,8 +46,7 @@ remote.on('task', (data) => {
response = runner.run_task(data.task, data.preempt, data.watch)
break
case 'stop':
- break
- case 'kill':
+ response = runner.stop_task(data.task)
break
case 'add':
break