projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17f8ca9
)
Use YAZ log reopen reature on SIGHUP
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Jan 2015 15:48:17 +0000
(16:48 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Jan 2015 15:48:17 +0000
(16:48 +0100)
src/metaproxy_prog.cpp
patch
|
blob
|
history
diff --git
a/src/metaproxy_prog.cpp
b/src/metaproxy_prog.cpp
index
dfcea29
..
a4bb72b
100644
(file)
--- a/
src/metaproxy_prog.cpp
+++ b/
src/metaproxy_prog.cpp
@@
-260,8
+260,9
@@
static int sc_main(
yaz_sc_running(s);
- yaz_daemon("metaproxy", mode, mode == YAZ_DAEMON_DEBUG ?
- work_debug : work_normal, router, pidfile, uid);
+ yaz_daemon("metaproxy", mode | YAZ_DAEMON_LOG_REOPEN,
+ mode == YAZ_DAEMON_DEBUG ? work_debug : work_normal,
+ router, pidfile, uid);
}
delete router;
}