mheily / jobd

A job management framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set the process title

mheily opened this issue · comments

It would be a nice feature to have jobd set the process title based on an optional ProcessTitle configuration key in the manifest.

This would call setproctitle(3) or the equivalent on GNU-based systems.

Example manifest:

{
"Label": "MyWebApp":
"Program": [ "httpd", "-c", "/tmp/foo.conf"],
"ProcessTitle": "[MyWebApp] Apache"
}