mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
fix: rpm package setup (#4506)
Also, fix the deadlock problem on shutdown on Oracle Linux 5.15 Fixes #4505 Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
904775cfe6
commit
bafb427a09
4 changed files with 6 additions and 4 deletions
2
helio
2
helio
|
@ -1 +1 @@
|
|||
Subproject commit 2ab4412b78afbf7d3102b472fb0e6f70b194a535
|
||||
Subproject commit 54a854715599ec724727ca09171f3b54d0855872
|
|
@ -458,7 +458,7 @@ TEST_F(RdbTest, JsonTest) {
|
|||
class HllRdbTest : public RdbTest, public testing::WithParamInterface<string> {};
|
||||
|
||||
TEST_P(HllRdbTest, Hll) {
|
||||
LOG(INFO) << " max memory: " << max_memory_limit
|
||||
LOG(ERROR) << " max memory: " << max_memory_limit
|
||||
<< " used_mem_current: " << used_mem_current.load();
|
||||
auto ec = LoadRdb("hll.rdb");
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ Documentation=
|
|||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=-/etc/dragonfly/environment
|
||||
ExecStart=/usr/bin/dragonfly --flagfile=/etc/dragonfly/dragonfly.conf
|
||||
ExecStart=/usr/local/bin/dragonfly --flagfile=/etc/dragonfly/dragonfly.conf
|
||||
PIDFile=/var/run/dragonfly/dragonfly.pid
|
||||
TimeoutStopSec=infinity
|
||||
Restart=always
|
||||
|
|
|
@ -35,6 +35,8 @@ mv ./dragonfly-%{_arch} ./dragonfly
|
|||
%install
|
||||
mkdir -p %{buildroot}/usr/local/bin
|
||||
mkdir -p %{buildroot}/etc/dragonfly
|
||||
mkdir -p %{buildroot}/var/log/dragonfly
|
||||
mkdir -p %{buildroot}/var/lib/dragonfly
|
||||
|
||||
install -m 755 ./dragonfly %{buildroot}/usr/local/bin/
|
||||
mkdir -p %{buildroot}/usr/lib/systemd/system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue