Remove service so as to be launched by starter
authorEunyoung Lee <ey928.lee@samsung.com>
Thu, 17 Mar 2016 05:10:13 +0000 (14:10 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Thu, 17 Mar 2016 05:10:13 +0000 (14:10 +0900)
Change-Id: I08130b18884b34400bcd312d67fc696bde37055d

packaging/indicator.service [deleted file]
packaging/indicator.service.system [deleted file]
packaging/org.tizen.indicator.spec

diff --git a/packaging/indicator.service b/packaging/indicator.service
deleted file mode 100644 (file)
index 4d9133c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Start the indicator
-After=starter.service wm_ready.service smack-default-labeling.service
-Requires=starter.service
-
-[Service]
-ExecStart=/usr/apps/org.tizen.indicator/bin/indicator
-KillSignal=SIGKILL
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/packaging/indicator.service.system b/packaging/indicator.service.system
deleted file mode 100644 (file)
index 036ebc4..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Unit]
-Description=Start the indicator
-Requires=ac.service
-After=launchpad-preload.service wm_ready.service ac.service
-
-[Service]
-EnvironmentFile=/run/tizen-system-env
-#ExecStart=/usr/apps/org.tizen.indicator/bin/indicator
-ExecStart=/usr/bin/app_launcher -s org.tizen.indicator __LAUNCH_APP_MODE__ SYNC
-Restart=always
-RestartSec=0
-OOMScoreAdjust=200
-
-[Install]
-WantedBy=multi-user.target
index 6fc2e2f..ac3f7be 100644 (file)
@@ -10,8 +10,6 @@ Release:    1
 Group:      utils
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
-Source1:    indicator.service.system
-Source2:    indicator.path
 
 %if "%{?profile}" == "wearable"
 ExcludeArch: %{arm} %ix86 x86_64
@@ -100,11 +98,6 @@ cp -f LICENSE %{buildroot}/usr/share/license/%{PKGNAME}
 %define tizen_author_sign 1
 %define tizen_dist_sign 1
 
-mkdir -p %{buildroot}/usr/lib/systemd/user/default.target.wants
-install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/user/indicator.service
-install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/user/indicator.path
-ln -s ../indicator.path %{buildroot}/usr/lib/systemd/user/default.target.wants/
-
 %clean
 rm -rf %{buildroot}
 
@@ -121,9 +114,6 @@ rm -rf %{buildroot}
 /usr/share/packages/%{PKGNAME}.xml
 %attr(775,app,app) %{PREFIXRW}/data
 %attr(755,-,-) %{_sysconfdir}/init.d/indicator
-/usr/lib/systemd/user/indicator.service
-/usr/lib/systemd/user/default.target.wants/indicator.path
-/usr/lib/systemd/user/indicator.path
 /usr/share/license/%{PKGNAME}
 /usr/apps/%{PKGNAME}/author-signature.xml
 /usr/apps/%{PKGNAME}/signature1.xml