To prevent rebooting the device, amd.vip.conf file is removed.
When amd is restarted, amd loads running context informations from
the db(tmpfs). Rebooting the device is not needed.
Change-Id: I8365b7a68c46df30a260cc4dc74671eba9e1a6f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Source101: ac.service
Source102: ac.socket
Source103: amd.conf
-Source104: amd.vip.conf
Source1001: %{name}.manifest
Requires(post): /sbin/ldconfig
mkdir -p %{buildroot}%{_datadir}/amd/conf
install -m 0644 %SOURCE103 %{buildroot}%{_datadir}/amd/conf/amd.conf
-mkdir -p %{buildroot}/%{_sysconfdir}/resourced/vip-process.d
-cp %{SOURCE104} %{buildroot}/%{_sysconfdir}/resourced/vip-process.d/amd.conf
-
%preun
if [ $1 == 0 ]; then
systemctl stop ac.service
%{_bindir}/amd
%{_libdir}/libamd.so.*
%{_moddir}/conf/amd.conf
-%{_sysconfdir}/resourced/vip-process.d/amd.conf
%files devel
%{_includedir}/amd/*.h*
+++ /dev/null
-[VIP_GROUP]
-SERVICE=ac.service
-ACTION_ON_FAILURE=reboot