Change to daemonize after stream flush 28/191828/5 accepted/tizen/unified/20181107.081806 submit/tizen/20181102.020303
authorYoungHun Kim <yh8004.kim@samsung.com>
Wed, 24 Oct 2018 08:26:34 +0000 (17:26 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Thu, 25 Oct 2018 03:02:27 +0000 (12:02 +0900)
Change-Id: I0a049236046db57f4b9aa58d08eeac8664c07419

packaging/murphy.spec
src/daemon/daemon.c

index 9da148090315236dd931cb9447ebf139da0d0dce..0706b1cf00294f01a873cdb0de250c4157cde2ab 100644 (file)
@@ -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.
 #
index 65dee9bcf871e9323f5c51e55ca47eb80c065baa..8df12b0582dca24927d697d67c50375b6f3fd2e0 100644 (file)
@@ -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);