Disable nether.service temporarily for high memory usage 80/73880/1 accepted/tizen/common/20160610.182426 accepted/tizen/ivi/20160610.114619 accepted/tizen/mobile/20160610.114517 accepted/tizen/tv/20160610.114537 accepted/tizen/wearable/20160610.114600 submit/tizen/20160610.023316
authorjooseong lee <jooseong.lee@samsung.com>
Fri, 10 Jun 2016 02:10:42 +0000 (11:10 +0900)
committerjooseong lee <jooseong.lee@samsung.com>
Fri, 10 Jun 2016 02:10:42 +0000 (11:10 +0900)
USER PID PPID RSS  SIZE VSZ  %MEM %CPU TIME    COMMAND
root 356 1    1364 332  4148 0.1  99.5 0:23:05 nether

Change-Id: I3ffdb7c32327846bcb27de15275954a4db41283e
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
conf/CMakeLists.txt
packaging/nether.spec

index 26ddd72..8cabec6 100644 (file)
 
 MESSAGE(STATUS "Installing config files")
 
-CONFIGURE_FILE(systemd/nether.service.in systemd/nether.service)
+#CONFIGURE_FILE(systemd/nether.service.in systemd/nether.service)
 
 INSTALL(FILES file.policy DESTINATION ${SYSCONF_INSTALL_DIR}/nether)
 INSTALL(FILES cynara.policy DESTINATION ${SYSCONF_INSTALL_DIR}/nether)
 INSTALL(FILES nether.rules DESTINATION ${SYSCONF_INSTALL_DIR}/nether)
-INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR})
-INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR}/multi-user.target.wants)
+#INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR})
+#INSTALL(FILES systemd/nether.service DESTINATION ${SYSTEMD_UNIT_DIR}/multi-user.target.wants)
index 38e1322..cfaa011 100644 (file)
@@ -20,8 +20,8 @@ This is a network privilege enforcing service.
 %config %{_sysconfdir}/nether/file.policy
 %config %{_sysconfdir}/nether/nether.rules
 %config %{_sysconfdir}/nether/cynara.policy
-%{_unitdir}/nether.service
-%{_unitdir}/multi-user.target.wants/nether.service
+#%{_unitdir}/nether.service
+#%{_unitdir}/multi-user.target.wants/nether.service
 %prep
 %setup -q
 
@@ -50,19 +50,19 @@ rm -rf %{buildroot}
 %post
 # Refresh systemd services list after installation
 systemctl daemon-reload || :
-if [ $1 == 1 ]; then
-       systemctl start nether.service || :
-fi
-if [ $1 == 2 ]; then
-       systemctl restart nether.service || :
-fi
+#if [ $1 == 1 ]; then
+#      systemctl start nether.service || :
+#fi
+#if [ $1 == 2 ]; then
+#      systemctl restart nether.service || :
+#fi
 
 %preun
 # Stop the service before uninstall
-if [ $1 == 0 ]; then
-       systemctl stop nether.service || :
-fi
+#if [ $1 == 0 ]; then
+#      systemctl stop nether.service || :
+#fi
 
 %postun
 # Refresh systemd services list after uninstall/upgrade
-systemctl daemon-reload || :
+#systemctl daemon-reload || :