summaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index e4c69484..f84ecf92 100644
--- a/proc.c
+++ b/proc.c
@@ -188,8 +188,9 @@ proc_start(const char *name, struct event_base *base, int forkflag,
fatalx("event_reinit failed");
}
-#ifdef HAVE_SETPROCTITLE
log_open(name);
+
+#ifdef HAVE_SETPROCTITLE
setproctitle("%s (%s)", name, socket_path);
#endif