summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-05-20 23:15:38 +0200
committerPetr Vaněk <arkamar@gentoo.org>2024-05-21 23:22:09 +0200
commit47ba28ececfee1196e4d0e541e9c4cbc9acba8b2 (patch)
tree41f64e1ec530ee20e2b320703a964722f2802f7c /dev-db
parentnet-misc/croc: add 9.6.17 (diff)
downloadgentoo-47ba28ececfee1196e4d0e541e9c4cbc9acba8b2.tar.gz
gentoo-47ba28ececfee1196e4d0e541e9c4cbc9acba8b2.tar.bz2
gentoo-47ba28ececfee1196e4d0e541e9c4cbc9acba8b2.zip
dev-db/redict: Fix command path in init scripts
Closes: https://bugs.gentoo.org/932243 Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev> Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/redict/files/redict-sentinel.initd2
-rw-r--r--dev-db/redict/files/redict.initd2
-rw-r--r--dev-db/redict/files/redict.service2
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-db/redict/files/redict-sentinel.initd b/dev-db/redict/files/redict-sentinel.initd
index f2d4afcd3cad..1d95772efdbd 100644
--- a/dev-db/redict/files/redict-sentinel.initd
+++ b/dev-db/redict/files/redict-sentinel.initd
@@ -13,7 +13,7 @@ depend() {
after keepalived redict
}
-command="/usr/sbin/redict-sentinel"
+command="/usr/bin/redict-sentinel"
command_args="${REDICT_SENTINEL_CONF}"
command_background="true"
command_user="${REDICT_SENTINEL_USER}:${REDICT_SENTINEL_GROUP}"
diff --git a/dev-db/redict/files/redict.initd b/dev-db/redict/files/redict.initd
index 80b086fbfce1..e940723a400f 100644
--- a/dev-db/redict/files/redict.initd
+++ b/dev-db/redict/files/redict.initd
@@ -11,7 +11,7 @@
# https://bugs.gentoo.org/631002#c10
# Force '--daemonize no' to override the config file
-command="/usr/sbin/redict-server"
+command="/usr/bin/redict-server"
command_args="${REDICT_OPTS} --daemonize no"
command_background="true"
command_user="${REDICT_USER}:${REDICT_GROUP}"
diff --git a/dev-db/redict/files/redict.service b/dev-db/redict/files/redict.service
index 97fabd001d8e..2ec1cf7bff1d 100644
--- a/dev-db/redict/files/redict.service
+++ b/dev-db/redict/files/redict.service
@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=simple
PIDFile=/run/redict/redict.pid
-ExecStart=/usr/sbin/redict-server /etc/redict/redict.conf
+ExecStart=/usr/bin/redict-server /etc/redict/redict.conf
User=redict
Group=redict