commit: 47ba28ececfee1196e4d0e541e9c4cbc9acba8b2 Author: Anna (navi) Figueiredo Gomes <navi <AT> vlhl <DOT> dev> AuthorDate: Mon May 20 21:15:38 2024 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Tue May 21 21:22:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ba28ec
dev-db/redict: Fix command path in init scripts Closes: https://bugs.gentoo.org/932243 Signed-off-by: Anna (navi) Figueiredo Gomes <navi <AT> vlhl.dev> Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> dev-db/redict/files/redict-sentinel.initd | 2 +- dev-db/redict/files/redict.initd | 2 +- dev-db/redict/files/redict.service | 2 +- 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
