Change-Id: I2c181dc9996a78208e4c9ee7bfe05ea8bb266eee
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
%install
%make_install
-mkdir -p %{buildroot}%{_unitdir}/default.target.wants
+mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}
-ln -s ../contextd.service %{buildroot}%{_unitdir}/default.target.wants/contextd.service
+ln -s ../contextd.service %{buildroot}%{_unitdir}/multi-user.target.wants/contextd.service
mkdir -p %{buildroot}%{_sysconfdir}/dbus-1/system.d
install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dbus-1/system.d/
[Unit]
Description=Contextual Service Framework Server Daemon
+After=lazy_mount.service systemd-logind.service
[Service]
User=service_fw
RestartSec=1
[Install]
-WantedBy=default.target
+WantedBy=multi-user.target