Disable askuser service 77/76177/2 accepted/tizen/ivi/20160623.124833 accepted/tizen/mobile/20160623.124743 accepted/tizen/tv/20160623.124758 accepted/tizen/wearable/20160623.124818 submit/tizen/20160623.074201
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Thu, 23 Jun 2016 05:17:15 +0000 (14:17 +0900)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Thu, 23 Jun 2016 05:40:44 +0000 (14:40 +0900)
Change-Id: I744f134aaed47f92d83ea9a1aafbefaf09861c16

CMakeLists.txt
packaging/askuser.spec

index 3601860..8a41fb1 100644 (file)
@@ -78,5 +78,5 @@ SET(TARGET_TEST "askuser-test")
 SET(TARGET_TESTS "askuser-tests")
 
 ADD_SUBDIRECTORY(src)
-ADD_SUBDIRECTORY(systemd)
+#ADD_SUBDIRECTORY(systemd)
 ADD_SUBDIRECTORY(test)
index 10345ea..4ec548e 100644 (file)
@@ -90,22 +90,22 @@ rm -rf %{buildroot}
 
 %post
 # todo properly use systemd --user
-ln -s /lib/systemd/user/askuser-notification.service \
-/usr/lib/systemd/user/default.target.wants/askuser-notification.service 2> /dev/null
+#ln -s /lib/systemd/user/askuser-notification.service \
+#/usr/lib/systemd/user/default.target.wants/askuser-notification.service 2> /dev/null
 
 systemctl daemon-reload
 
-if [ $1 = 1 ]; then
-    systemctl enable askuser.service
-fi
+#if [ $1 = 1 ]; then
+#    systemctl enable askuser.service
+#fi
 
-systemctl restart askuser.service
-systemctl restart cynara.service
+#systemctl restart askuser.service
+#systemctl restart cynara.service
 
 %preun
-if [ $1 = 0 ]; then
-    systemctl stop askuser.service
-fi
+#if [ $1 = 0 ]; then
+#    systemctl stop askuser.service
+#fi
 
 %postun
 if [ $1 = 0 ]; then
@@ -122,13 +122,13 @@ systemctl restart cynara.service
 %manifest %{name}.manifest
 %license LICENSE
 %attr(755, root, root) /usr/bin/askuser
-/usr/lib/systemd/system/askuser.service
+#/usr/lib/systemd/system/askuser.service
 
 %files -n askuser-notification
 %manifest askuser-notification.manifest
 %license LICENSE
 %attr(755,root,root) /usr/bin/askuser-notification
-/usr/lib/systemd/user/askuser-notification.service
+#/usr/lib/systemd/user/askuser-notification.service
 /usr/share/locale/en/LC_MESSAGES/askuser.mo
 /usr/share/locale/pl/LC_MESSAGES/askuser.mo