[Internal: change] oma-ds-agent permit changed. (app -> root)
authorsanghyuk Ko <sanghyuk.ko@samsung.com>
Mon, 1 Apr 2013 02:08:55 +0000 (11:08 +0900)
committersanghyuk Ko <sanghyuk.ko@samsung.com>
Mon, 1 Apr 2013 02:08:55 +0000 (11:08 +0900)
[Problem]
-
[Cause]
-
[Solution]
- oma-ds-agent authorize root. (app -> root)

Change-Id: I09bc468bd299c56fee6dc2d0e21a52f706d215fa

packaging/oma-ds-agent.service [changed mode: 0644->0755]
packaging/oma-ds-agent.spec

old mode 100644 (file)
new mode 100755 (executable)
index 2c97f8c..438d5c3
@@ -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
index c1211d3..51730c8 100755 (executable)
@@ -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