updated version & file structure

This commit is contained in:
Sergey Klochkov 2018-05-31 23:52:07 +03:00
parent 984aa91a67
commit 326cb41ba3
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
Name: odyssey Name: odyssey
Version: 3.0 Version: 1.0beta
Release: 1%{?dist} Release: 1%{?dist}
Summary: Advanced multi-threaded PostgreSQL connection pooler and request router Summary: Advanced multi-threaded PostgreSQL connection pooler and request router
@ -28,8 +28,8 @@ make %{?_smp_mflags}
%install %install
install -D -m 755 sources/odyssey $RPM_BUILD_ROOT/usr/bin/odyssey 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.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 scripts/systemd/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
%pre %pre
useradd -md /usr/lib/odyssey odyssey >/dev/null 2>&1 || exit 0 useradd -md /usr/lib/odyssey odyssey >/dev/null 2>&1 || exit 0