From 326cb41ba3e2e17e3920e387845f3ded56029996 Mon Sep 17 00:00:00 2001 From: Sergey Klochkov Date: Thu, 31 May 2018 23:52:07 +0300 Subject: [PATCH] updated version & file structure --- odyssey.spec => scripts/centos/odyssey.spec | 6 +++--- odyssey.service => scripts/systemd/odyssey.service | 0 odyssey@.service => scripts/systemd/odyssey@.service | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename odyssey.spec => scripts/centos/odyssey.spec (81%) rename odyssey.service => scripts/systemd/odyssey.service (100%) rename odyssey@.service => scripts/systemd/odyssey@.service (100%) diff --git a/odyssey.spec b/scripts/centos/odyssey.spec similarity index 81% rename from odyssey.spec rename to scripts/centos/odyssey.spec index cf37de03..1140dc72 100644 --- a/odyssey.spec +++ b/scripts/centos/odyssey.spec @@ -1,5 +1,5 @@ Name: odyssey -Version: 3.0 +Version: 1.0beta Release: 1%{?dist} Summary: Advanced multi-threaded PostgreSQL connection pooler and request router @@ -28,8 +28,8 @@ make %{?_smp_mflags} %install install -D -m 755 sources/odyssey $RPM_BUILD_ROOT/usr/bin/odyssey install -D -m 644 odyssey.conf $RPM_BUILD_ROOT/etc/odyssey/odyssey.conf -install -D -m 644 odyssey.service $RPM_BUILD_ROOT/usr/lib/systemd/system/odyssey.service -install -D -m 644 odyssey@.service $RPM_BUILD_ROOT/usr/lib/systemd/system/odyssey@.service +install -D -m 644 scripts/systemd/odyssey.service $RPM_BUILD_ROOT/usr/lib/systemd/system/odyssey.service +install -D -m 644 scripts/systemd/odyssey@.service $RPM_BUILD_ROOT/usr/lib/systemd/system/odyssey@.service %pre useradd -md /usr/lib/odyssey odyssey >/dev/null 2>&1 || exit 0 diff --git a/odyssey.service b/scripts/systemd/odyssey.service similarity index 100% rename from odyssey.service rename to scripts/systemd/odyssey.service diff --git a/odyssey@.service b/scripts/systemd/odyssey@.service similarity index 100% rename from odyssey@.service rename to scripts/systemd/odyssey@.service