Process service is responsible for starting, stopping and checking the status of a custom application. It uses SSH service.
- Starting process
endly app.yaml
app.yaml
init:
appPath: $Pwd()/my-app
pipeline:
setSdk:
action: sdk:set
sdk: node:12
build:
action: exec:run
checkError: true
commands:
- cd $appPath
- npm install
- npm test
stop:
action: process:stop
input: react-scripts/scripts/start.js
start:
action: process:start
directory: $appPath/
watch: true
immuneToHangups: true
command: npm start
- Stopping process
Service Id | Action | Description | Request | Response |
---|---|---|---|---|
process | status | check status of an application | StatusRequest | StatusResponse |
process | start | start provided application | StartRequest | StartResponse |
process | stop | kill requested application | StopRequest | RunResponse |