diff options
author | Young-Ae Kang <youngae.kang@samsung.com> | 2016-02-26 15:18:21 +0900 |
---|---|---|
committer | Young-Ae Kang <youngae.kang@samsung.com> | 2016-02-26 15:19:46 +0900 |
commit | f4f10ea94e80a1b77ec9fb32a21f7707e19816e7 (patch) | |
tree | ee699de4b46a302c5d3bd82fb97ce6d9add45bb4 | |
parent | 35769c89740a5fde3b60e6de8bd589ee64b50e13 (diff) | |
download | geofence-server-f4f10ea94e80a1b77ec9fb32a21f7707e19816e7.tar.gz geofence-server-f4f10ea94e80a1b77ec9fb32a21f7707e19816e7.tar.bz2 geofence-server-f4f10ea94e80a1b77ec9fb32a21f7707e19816e7.zip |
Changed not to install geofence-server.service for DBus auto activationsubmit/tizen/20160226.063341accepted/tizen/wearable/20160226.095835accepted/tizen/tv/20160226.095815accepted/tizen/mobile/20160226.095758accepted/tizen/ivi/20160226.095854accepted/tizen_wearableaccepted/tizen_tv
Change-Id: If1280d8ad7579934b9215ffbb4576f9af1ccb148
-rw-r--r-- | packaging/geofence-server.service | 7 | ||||
-rw-r--r-- | packaging/geofence-server.spec | 12 |
2 files changed, 11 insertions, 8 deletions
diff --git a/packaging/geofence-server.service b/packaging/geofence-server.service index 1ce07b8..5464426 100644 --- a/packaging/geofence-server.service +++ b/packaging/geofence-server.service @@ -4,8 +4,9 @@ Requires=geofence-server.service [Service] EnvironmentFile=/run/tizen-system-env -Type=simple +Type=dbus +BusName=org.tizen.lbs.Providers.GeofenceServer ExecStart=/usr/bin/geofence-server MemoryLimit=10M -Restart=always -RestartSec=1 +#Restart=always +#RestartSec=1 diff --git a/packaging/geofence-server.spec b/packaging/geofence-server.spec index 71ec32e..8d5b9a9 100644 --- a/packaging/geofence-server.spec +++ b/packaging/geofence-server.spec @@ -60,9 +60,10 @@ make %{?jobs:-j%jobs} rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}%{_unitdir_user}/default.target.wants -install -m 644 %{SOURCE1} %{buildroot}%{_unitdir_user}/geofence-server.service -ln -s ../geofence-server.service %{buildroot}%{_unitdir_user}/default.target.wants/geofence-server.service +#service for systemd is not installed to support only DBus auto activation +#mkdir -p %{buildroot}%{_unitdir_user}/default.target.wants +#install -m 644 %{SOURCE1} %{buildroot}%{_unitdir_user}/geofence-server.service +#ln -s ../geofence-server.service %{buildroot}%{_unitdir_user}/default.target.wants/geofence-server.service %clean rm -rf %{buildroot} @@ -79,8 +80,9 @@ rm -rf %{buildroot} /usr/share/dbus-1/services/org.tizen.lbs.Providers.GeofenceServer.service %config %{_sysconfdir}/dbus-1/session.d/geofence-server.conf -%{_unitdir_user}/geofence-server.service -%{_unitdir_user}/default.target.wants/geofence-server.service +#service for systemd is not installed to support only DBus auto activation +#%{_unitdir_user}/geofence-server.service +#%{_unitdir_user}/default.target.wants/geofence-server.service %package -n location-geofence-server |