- Sometimes power off animation is not shown because
systemd can't control after cgroup unmount
- Notice : if some apps are infinitely restarted,
their service file should be modified
Change-Id: Ic4d3700c90ffbfb4b1743fb6c73116d5cce0d200
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
proc_sweep_memory(PROC_SWEEP_EXCLUDE_ACTIVE, INIT_PID);
resourced_notify(RESOURCED_NOTIFIER_POWER_OFF, NULL);
- umount2("/sys/fs/cgroup", MNT_FORCE|MNT_DETACH);
reply = dbus_message_new_method_return(msg);
dbus_message_iter_init_append(reply, &iter);
checkfd = 0;
}
- /* unmount cgroup for preventing launching another release-agent */
- _E("systemd service stop");
- umount2("/sys/fs/cgroup", MNT_FORCE |MNT_DETACH);
-
/* check debug level */
if (check_debugenable())
run_exec(dumpargv);