diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-08-21 13:01:13 +0800 |
---|---|---|
committer | Chengwei Yang <chengwei.yang@intel.com> | 2013-08-21 13:12:38 +0800 |
commit | 3b269607504c4ab518dab56cdaaf4270da022017 (patch) | |
tree | fc3e04cbc9ee2b98414cb8aa3d862726811d0d47 /packaging | |
parent | 448157562ba5dfafe46458821a6d2e3f64fcbe74 (diff) | |
download | oma-ds-agent-3b269607504c4ab518dab56cdaaf4270da022017.tar.gz oma-ds-agent-3b269607504c4ab518dab56cdaaf4270da022017.tar.bz2 oma-ds-agent-3b269607504c4ab518dab56cdaaf4270da022017.zip |
Move systemd unit file out of packaging
As Tizen packaging guide suggests, systemd unit file should be part of
source code rather than part of packaging.
Change-Id: I3fa6a6196d881fa9229fe231e025e501f4d00822
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/oma-ds-agent.changes | 3 | ||||
-rwxr-xr-x | packaging/oma-ds-agent.service | 10 | ||||
-rwxr-xr-x | packaging/oma-ds-agent.spec | 6 |
3 files changed, 3 insertions, 16 deletions
diff --git a/packaging/oma-ds-agent.changes b/packaging/oma-ds-agent.changes index e3a78ee..db80206 100644 --- a/packaging/oma-ds-agent.changes +++ b/packaging/oma-ds-agent.changes @@ -1,3 +1,6 @@ +* Wed Aug 21 2013 Chengwei Yang <chengwei.yang@intel.com> +- Move systemd unit out of packaging + * Mon Aug 12 2013 Chengwei Yang <chengwei.yang@intel.com> - Add .changes file - Fix build failure due to badness exceeds limitation diff --git a/packaging/oma-ds-agent.service b/packaging/oma-ds-agent.service deleted file mode 100755 index 438d5c3..0000000 --- a/packaging/oma-ds-agent.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=OMA DS agent -After=calendar.service contacts-service.service pushd.service msg-service.service dbus.service - -[Service] -#Type=forking -ExecStart=/usr/bin/oma-ds-agent - -[Install] -WantedBy=graphical.target
\ No newline at end of file diff --git a/packaging/oma-ds-agent.spec b/packaging/oma-ds-agent.spec index 418851c..d3fbf7b 100755 --- a/packaging/oma-ds-agent.spec +++ b/packaging/oma-ds-agent.spec @@ -5,7 +5,6 @@ Release: 1 Group: Base/Device Management License: Apache-2.0 Source0: %{name}-%{version}.tar.gz -Source1: packaing/oma-ds-agent.service Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(glib-2.0) @@ -55,11 +54,6 @@ sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST %make_install -# systemd service script sertup -mkdir -p %{buildroot}/usr/lib/systemd/system/graphical.target.wants -install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/system/ -ln -s ../oma-ds-agent.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service - %clean rm -rf %{buildroot} |