diff options
Diffstat (limited to 'packaging')
-rwxr-xr-x[-rw-r--r--] | packaging/oma-ds-agent.service | 6 | ||||
-rwxr-xr-x | packaging/oma-ds-agent.spec | 10 |
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 |