Skip to content

Commit

Permalink
ovn-northd: fix monitor process naming
Browse files Browse the repository at this point in the history
Currently the ovn-northd monitor process and the ovn-northd process
have the same name, e.g. ps -ef | grep northd shows (edited for space):

    ... ovn-northd --detach --monitor --log-file=ovn-northd.log --pidfile
    ... ovn-northd --detach --monitor --log-file=ovn-northd.log --pidfile

With the call to ovs_cmdl_proctitle_init() added, we have:

    ... ovn-northd: monitoring pid 15662 (healthy)
    ... ovn-northd --detach --monitor --log-file=ovn-northd.log --pidfile

Signed-off-by: Lance Richardson <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
hlrichardson authored and blp committed Dec 21, 2016
1 parent 9cd754f commit 3dada17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ovn/northd/ovn-northd.c
Original file line number Diff line number Diff line change
Expand Up @@ -4913,6 +4913,7 @@ main(int argc, char *argv[])
bool exiting;

fatal_ignore_sigpipe();
ovs_cmdl_proctitle_init(argc, argv);
set_program_name(argv[0]);
service_start(&argc, &argv);
parse_options(argc, argv);
Expand Down

0 comments on commit 3dada17

Please sign in to comment.