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