mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: setproctitle on demon processes (#11402)
This makes it easier to identify processes in `ps` output
This commit is contained in:
parent
1960fc5333
commit
477538bf2d
|
@ -146,6 +146,7 @@ class Demon::Base
|
|||
return
|
||||
end
|
||||
|
||||
Process.setproctitle("discourse #{self.class.prefix}")
|
||||
monitor_parent
|
||||
establish_app
|
||||
after_fork
|
||||
|
|
Loading…
Reference in New Issue
Block a user