aboutsummaryrefslogtreecommitdiffstats
path: root/src/afm-system-daemon.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-05 17:16:54 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-09-19 15:25:36 +0200
commit7c0c4ba7a28fad979e602312959203dfefdfaef1 (patch)
treea4b1f3987cb3d156b88feb3523d8910f975dca9f /src/afm-system-daemon.c
parenta91edb8202d3436e9d94a4f2b90c759f8833f770 (diff)
Remove legacy mode without systemd
Change-Id: Id26322a1a46baa8b53b6d3c214477ae50a7c99f6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afm-system-daemon.c')
-rw-r--r--src/afm-system-daemon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/afm-system-daemon.c b/src/afm-system-daemon.c
index 097913a..501a61c 100644
--- a/src/afm-system-daemon.c
+++ b/src/afm-system-daemon.c
@@ -31,7 +31,6 @@
#include "utils-json.h"
#include "utils-systemd.h"
#include "afm.h"
-#include "afm-db.h"
#include "wgt-info.h"
#include "wgtpkg-install.h"
#include "wgtpkg-uninstall.h"
@@ -87,11 +86,9 @@ const char error_cant_start[] = "\"can't start\"";
static void do_reloads()
{
-#ifndef LEGACY_MODE_WITHOUT_SYSTEMD
/* enforce daemon reload */
systemd_daemon_reload(0);
systemd_unit_restart_name(0, "sockets.target");
-#endif
}
static void on_install(struct sd_bus_message *smsg, struct json_object *req, void *unused)