Skip to content

Commit 0874a2b

Browse files
committed
Document need to stop before config change
The applications to stop are loaded into pm2 from the configuration file provided by the source collection. If the source collection changes, the previous config file becomes unaccessible and pm2 cannot stop the previous application, thus preventing the new one from starting
1 parent bbd6433 commit 0874a2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ all:
8282
ota_directory: demo
8383
```
8484
85+
#### Changes on a existing deployment
86+
87+
If the `ota_source_repository` is changed on an existing target, the application has to be [stopped](#playbook-execution-refinement) before the new configuration is deployed.
88+
8589
- ### PM2 Configuration File — `pm2.config.cjs`
8690

8791
**This file is mandatory**

0 commit comments

Comments
 (0)