diff options
-rw-r--r-- | daemon/logind/logind.c | 2 | ||||
-rw-r--r-- | daemon/regmaild/regmaild.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c index 04ad99e5..4e282617 100644 --- a/daemon/logind/logind.c +++ b/daemon/logind/logind.c @@ -1880,7 +1880,7 @@ logattempt_daemon() // child here. g_logattempt_pipe = pipe_fds[0]; close(pipe_fds[1]); - setproctitle("[logattempts]"); + setproctitle(MY_SVC_NAME " [logattempts]"); // TODO change to batched processing while (toread(g_logattempt_pipe, &ctx, sizeof(ctx)) == sizeof(ctx)) diff --git a/daemon/regmaild/regmaild.c b/daemon/regmaild/regmaild.c index 4d887868..a5cc9138 100644 --- a/daemon/regmaild/regmaild.c +++ b/daemon/regmaild/regmaild.c @@ -363,7 +363,7 @@ int main(int argc, char *argv[]) if ( (sfd = tobind(iface_ip)) < 0 ) return 1; - // daemonize(BBSHOME "/run/regmaild.pid", NULL); + daemonize(BBSHOME "/run/regmaild.pid", NULL); regmaildb_open(&g_Db, EMAILDB_PATH); event_init(); |