Skip to content

Commit

Permalink
Add pre_start to applications and workers schema
Browse files Browse the repository at this point in the history
Fix #190
  • Loading branch information
akalipetis committed Jan 18, 2024
1 parent 04df00d commit 301ab38
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions validator/schema/platformsh.application.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@
"commands": {
"type": "object",
"properties": {
"pre_start": {
"type": "string",
"title": "The command used to run before starting the application."
},
"start": {
"type": "string",
"title": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP."
Expand Down Expand Up @@ -798,6 +802,10 @@
"commands": {
"type": "object",
"properties": {
"pre_start": {
"type": "string",
"title": "The command used to run before starting the cron job."
},
"start": {
"type": "string",
"title": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP."
Expand Down
8 changes: 8 additions & 0 deletions validator/schema/upsun.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@
"commands": {
"type": "object",
"properties": {
"pre_start": {
"type": "string",
"title": "The command used to run before starting the application."
},
"start": {
"type": "string",
"title": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP."
Expand Down Expand Up @@ -785,6 +789,10 @@
"commands": {
"type": "object",
"properties": {
"pre_start": {
"type": "string",
"title": "The command used to run before starting the application."
},
"start": {
"type": "string",
"title": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP."
Expand Down

0 comments on commit 301ab38

Please sign in to comment.