diff options
author | YoungHun Kim <yh8004.kim@samsung.com> | 2018-10-24 17:26:34 +0900 |
---|---|---|
committer | YoungHun Kim <yh8004.kim@samsung.com> | 2018-10-25 12:02:27 +0900 |
commit | e1e972d85c2f5c77a63290d023c230359deb5016 (patch) | |
tree | 43660ee9017dac9fcc24324a7862afff6a205aff | |
parent | 0ec08b22decb7f4340ed58f5e33e069439f2694b (diff) | |
download | murphy-submit/tizen/20181102.020303.tar.gz murphy-submit/tizen/20181102.020303.tar.bz2 murphy-submit/tizen/20181102.020303.zip |
Change to daemonize after stream flushsubmit/tizen/20181102.020303accepted/tizen/unified/20181107.081806
Change-Id: I0a049236046db57f4b9aa58d08eeac8664c07419
-rw-r--r-- | packaging/murphy.spec | 2 | ||||
-rw-r--r-- | src/daemon/daemon.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/murphy.spec b/packaging/murphy.spec index 9da1480..0706b1c 100644 --- a/packaging/murphy.spec +++ b/packaging/murphy.spec @@ -3,9 +3,11 @@ %bcond_without pulse %bcond_without ecore %bcond_without glib +%bcond_with dbus %bcond_without telephony %bcond_without websockets %bcond_without smack +%bcond_with sysmon # These are off by default, unless explicitly enabled. # diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 65dee9b..8df12b0 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -291,9 +291,9 @@ int main(int argc, char *argv[], char *envp[]) load_ruleset(ctx); prepare_ruleset(ctx); setup_logging(ctx); - daemonize(ctx); set_linebuffered(stdout); set_nonbuffered(stderr); + daemonize(ctx); run_mainloop(ctx); stop_plugins(ctx); |