summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanghyuk Ko <sanghyuk.ko@samsung.com>2013-04-01 02:08:55 (GMT)
committersanghyuk Ko <sanghyuk.ko@samsung.com>2013-04-01 02:08:55 (GMT)
commit18dbdf4aab666146a41d18ef2fc346948c4e865f (patch)
tree95cd06fe19aef2c7f0215f2d497a41bd026ae461
parent44770ca3d33855e0944096689f93f8ee08b78bf5 (diff)
downloadoma-ds-agent-18dbdf4aab666146a41d18ef2fc346948c4e865f.zip
oma-ds-agent-18dbdf4aab666146a41d18ef2fc346948c4e865f.tar.gz
oma-ds-agent-18dbdf4aab666146a41d18ef2fc346948c4e865f.tar.bz2
[Internal: change] oma-ds-agent permit changed. (app -> root)
[Problem] - [Cause] - [Solution] - oma-ds-agent authorize root. (app -> root) Change-Id: I09bc468bd299c56fee6dc2d0e21a52f706d215fa
-rwxr-xr-x[-rw-r--r--]packaging/oma-ds-agent.service6
-rwxr-xr-xpackaging/oma-ds-agent.spec10
2 files changed, 8 insertions, 8 deletions
diff --git a/packaging/oma-ds-agent.service b/packaging/oma-ds-agent.service
index 2c97f8c..438d5c3 100644..100755
--- a/packaging/oma-ds-agent.service
+++ b/packaging/oma-ds-agent.service
@@ -1,10 +1,10 @@
[Unit]
-Description=OMA DS agent
+Description=OMA DS agent
After=calendar.service contacts-service.service pushd.service msg-service.service dbus.service
[Service]
-Type=forking
+#Type=forking
ExecStart=/usr/bin/oma-ds-agent
[Install]
-WantedBy=tizen-middleware.target
+WantedBy=graphical.target \ No newline at end of file
diff --git a/packaging/oma-ds-agent.spec b/packaging/oma-ds-agent.spec
index c1211d3..51730c8 100755
--- a/packaging/oma-ds-agent.spec
+++ b/packaging/oma-ds-agent.spec
@@ -57,9 +57,9 @@ sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST
%make_install
# systemd service script sertup
-mkdir -p %{buildroot}%{_libdir}/systemd/user/tizen-middleware.target.wants
-install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/user/
-ln -s ../oma-ds-agent.service %{buildroot}%{_libdir}/systemd/user/tizen-middleware.target.wants/oma-ds-agent.service
+mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/
+ln -s ../oma-ds-agent.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/oma-ds-agent.service
%clean
rm -rf %{buildroot}
@@ -124,8 +124,8 @@ rm -rf /usr/share/oma-ds-cfg
/etc/init.d/oma-ds
%defattr(644,root,root)
-/usr/lib/systemd/user/oma-ds-agent.service
-/usr/lib/systemd/user/tizen-middleware.target.wants/oma-ds-agent.service
+/usr/lib/systemd/system/oma-ds-agent.service
+/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service
%files -n ds-public-plugins
%manifest ds-public-plugins.manifest