Don't hardcode username in sys-tuner (#7234)

automerge
This commit is contained in:
Pankaj Garg
2019-12-04 11:39:26 -08:00
committed by Grimes
parent b72c99e46a
commit 75d505c431
4 changed files with 23 additions and 3 deletions

View File

@ -129,7 +129,7 @@ cat >> ~/solana/on-reboot <<EOF
# shellcheck source=/dev/null
SUDO_OK=1 source scripts/tune-system.sh
sudo RUST_LOG=info ~solana/.cargo/bin/solana-sys-tuner > sys-tuner.log 2>&1 &
sudo RUST_LOG=info ~solana/.cargo/bin/solana-sys-tuner --user $(whoami) > sys-tuner.log 2>&1 &
echo \$! > sys-tuner.pid
(