Skip to content

Commit

Permalink
install.sh: apply sysctl.d files on non-packaging installation
Browse files Browse the repository at this point in the history
We don't apply sysctl.d files on non-packaging installation, apply them
just like rpm/deb taking care of that.

Fixes scylladb#7702

Closes scylladb#7705

(cherry picked from commit 5f81f97)
  • Loading branch information
syuu1228 authored and avikivity committed Nov 29, 2020
1 parent bb91574 commit 34862bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Expand Up @@ -342,5 +342,9 @@ elif ! $packaging; then
mv /tmp/scylla.yaml /etc/scylla/scylla.yaml


for file in dist/common/sysctl.d/*.conf; do
bn=$(basename "$file")
sysctl -p "$rusr"/lib/sysctl.d/"$bn"
done
$rprefix/scripts/scylla_post_install.sh
fi

0 comments on commit 34862bf

Please sign in to comment.