Skip to content

Commit 92ce1be

Browse files
authored
Merge pull request #911 from hhsue/docs_reread_update
clarify reread and update
2 parents 414cbec + e013856 commit 92ce1be

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

docs/running.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ add <name> [...]
243243

244244
remove <name> [...]
245245

246-
Removes process/group from active confi
246+
Removes process/group from active config
247247

248248
update
249249

250-
Reload config and add/remove as necessary
250+
Reload config and then add and remove as necessary (restarts programs)
251251

252252
clear <name>
253253

@@ -278,6 +278,10 @@ pid all
278278

279279
Get the PID of every child process, one per line.
280280

281+
reread
282+
283+
Reload the daemon's configuration files, without add/remove (no restarts)
284+
281285
restart <name>
282286

283287
Restart a process

supervisor/supervisorctl.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ def handle_error(self, message=None, fatal=False, code=None):
10861086
self.ctl.handle_error(message=message, fatal=fatal, code=code)
10871087

10881088
def help_reread(self):
1089-
self.ctl.output("reread \t\t\tReload the daemon's configuration files")
1089+
self.ctl.output("reread \t\t\tReload the daemon's configuration files without add and remove")
10901090

10911091
def do_add(self, arg):
10921092
names = arg.split()
@@ -1199,8 +1199,8 @@ def log(name, message):
11991199
log(gname, "added process group")
12001200

12011201
def help_update(self):
1202-
self.ctl.output("update\t\t\tReload config and add/remove as necessary")
1203-
self.ctl.output("update all\t\tReload config and add/remove as necessary")
1202+
self.ctl.output("update\t\t\tReload config and add and remove as necessary, and will restart affected programs")
1203+
self.ctl.output("update all\t\tReload config and add and remove as necessary, and will restart affected programs")
12041204
self.ctl.output("update <gname> [...]\tUpdate specific groups")
12051205

12061206
def _clearresult(self, result):

0 commit comments

Comments
 (0)