diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2016-02-02 17:51:12 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2016-02-02 17:51:12 +0000 |
commit | 848453065448cd57923a6f38a376e35ad6ee353b (patch) | |
tree | e6bf2757c3fa584b9212a43bab80aa68518f9d9b /usr.sbin/httpd/httpd.c | |
parent | 73d06a140f51dde0e67ada4c2e533f9a68730e16 (diff) |
Remove setproctitle() for the parent process. Because rc.d(8) uses process
titles (including flags) to distinguish between daemons, this makes it
possible to manage multiple copies of a daemon using the normal infrastructure
by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@
Diffstat (limited to 'usr.sbin/httpd/httpd.c')
-rw-r--r-- | usr.sbin/httpd/httpd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/httpd/httpd.c b/usr.sbin/httpd/httpd.c index 0dc9409f6d7..797133d972b 100644 --- a/usr.sbin/httpd/httpd.c +++ b/usr.sbin/httpd/httpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: httpd.c,v 1.53 2015/12/03 11:46:25 reyk Exp $ */ +/* $OpenBSD: httpd.c,v 1.54 2016/02/02 17:51:11 sthen Exp $ */ /* * Copyright (c) 2014 Reyk Floeter <reyk@openbsd.org> @@ -247,8 +247,6 @@ main(int argc, char *argv[]) } proc_init(ps, procs, nitems(procs)); - - setproctitle("parent"); log_procinit("parent"); if (pledge("stdio rpath wpath cpath inet dns proc ioctl sendfd", |