mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: setproctitle on demon processes (#11402)
This makes it easier to identify processes in `ps` output
This commit is contained in:
@@ -146,6 +146,7 @@ class Demon::Base
|
||||
return
|
||||
end
|
||||
|
||||
Process.setproctitle("discourse #{self.class.prefix}")
|
||||
monitor_parent
|
||||
establish_app
|
||||
after_fork
|
||||
|
||||
Reference in New Issue
Block a user