diff options
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -22,7 +22,6 @@ #include <errno.h> #include <event.h> -#include <imsg.h> #include <stdlib.h> #include <string.h> #include <unistd.h> @@ -189,7 +188,10 @@ proc_start(const char *name, struct event_base *base, int forkflag, } logfile(name); + +#ifdef HAVE_SETPROCTITLE setproctitle("%s (%s)", name, socket_path); +#endif log_debug("%s started (%ld): socket %s, protocol %d", name, (long)getpid(), socket_path, PROTOCOL_VERSION); |