From fe055412b5054da931a05c123314f500f4b8721c Mon Sep 17 00:00:00 2001 From: Eunyoung Lee Date: Thu, 17 Mar 2016 14:10:13 +0900 Subject: Remove service so as to be launched by starter Change-Id: I08130b18884b34400bcd312d67fc696bde37055d --- packaging/indicator.service | 12 ------------ packaging/indicator.service.system | 15 --------------- packaging/org.tizen.indicator.spec | 10 ---------- 3 files changed, 37 deletions(-) delete mode 100644 packaging/indicator.service delete mode 100644 packaging/indicator.service.system diff --git a/packaging/indicator.service b/packaging/indicator.service deleted file mode 100644 index 4d9133c..0000000 --- a/packaging/indicator.service +++ /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 index 036ebc4..0000000 --- a/packaging/indicator.service.system +++ /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 diff --git a/packaging/org.tizen.indicator.spec b/packaging/org.tizen.indicator.spec index 6fc2e2f..ac3f7be 100644 --- a/packaging/org.tizen.indicator.spec +++ b/packaging/org.tizen.indicator.spec @@ -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 -- cgit v1.2.3