summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungHun Kim <yh8004.kim@samsung.com>2018-10-24 17:26:34 +0900
committerYoungHun Kim <yh8004.kim@samsung.com>2018-10-25 12:02:27 +0900
commite1e972d85c2f5c77a63290d023c230359deb5016 (patch)
tree43660ee9017dac9fcc24324a7862afff6a205aff
parent0ec08b22decb7f4340ed58f5e33e069439f2694b (diff)
downloadmurphy-e1e972d85c2f5c77a63290d023c230359deb5016.tar.gz
murphy-e1e972d85c2f5c77a63290d023c230359deb5016.tar.bz2
murphy-e1e972d85c2f5c77a63290d023c230359deb5016.zip
Change-Id: I0a049236046db57f4b9aa58d08eeac8664c07419
-rw-r--r--packaging/murphy.spec2
-rw-r--r--src/daemon/daemon.c2
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);