Skip to content

Commit 219f7af

Browse files
authored
Merge pull request #862 from timmartin/issue797
Improved the documentation of the reloadConfig API method
2 parents cbebb93 + a1da645 commit 219f7af

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

supervisor/rpcinterface.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,19 @@ def restart(self):
167167

168168
def reloadConfig(self):
169169
"""
170-
Reload configuration
170+
Reload the configuration.
171+
172+
The result contains three arrays containing names of process
173+
groups:
174+
175+
* `added` gives the process groups that have been added
176+
* `changed` gives the process groups whose contents have
177+
changed
178+
* `removed` gives the process groups that are no longer
179+
in the configuration
180+
181+
@return array result [[added, changed, removed]]
171182
172-
@return boolean result always return True unless error
173183
"""
174184
self._update('reloadConfig')
175185
try:

0 commit comments

Comments
 (0)