Skip to content

Commit

Permalink
dev-db/redict: Fix command path in init scripts
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/932243
Signed-off-by: Anna (navi) Figueiredo Gomes <[email protected]>
Signed-off-by: Petr Vaněk <[email protected]>
  • Loading branch information
navi-desu authored and arkamar committed May 21, 2024
1 parent 01cb94b commit 47ba28e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-db/redict/files/redict-sentinel.initd
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion dev-db/redict/files/redict.initd
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion dev-db/redict/files/redict.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 47ba28e

Please sign in to comment.