Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove debug flags from linux packaging #26131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packaging/linux/run_keybase
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ start_background() {

# We set the --auto-forked flag here so that updated clients that try to
# restart this service will know to re-fork it themselves. That's all it does.
keybase --debug --use-default-log-file service --auto-forked &>> "$logdir/keybase.start.log" &
keybase --use-default-log-file service --auto-forked &>> "$logdir/keybase.start.log" &

if [ "$KEYBASE_NO_KBFS" != "1" ]; then
run_redirector_in_background
Expand All @@ -108,7 +108,7 @@ start_background() {
# has invalid permissions, the user will be notified on the command line
# after running `run_keybase`, but otherwise stdout will not be cluttered
# with other various log messages.
( kbfsfuse -debug -log-to-file | tee "$logdir/keybase.start.log" ) &
( kbfsfuse -log-to-file | tee "$logdir/keybase.start.log" ) &
fi

if [ "$KEYBASE_NO_GUI" != "1" ]; then
Expand Down
2 changes: 1 addition & 1 deletion packaging/linux/systemd/kbfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ EnvironmentFile=-%h/.config/keybase/keybase.env
# are any running shells cd'd into a Keybase folder.
ExecStartPre=-/bin/sh -c 'fusermount -uz "$(keybase config get -d -b mountdir)"'

ExecStart=/usr/bin/kbfsfuse -debug -log-to-file
ExecStart=/usr/bin/kbfsfuse -log-to-file

# This should have already occurred in the signal handler in kbfsfuse.
ExecStop=-/bin/sh -c 'fusermount -uz "$(keybase config get -d -b mountdir)"'
Expand Down
2 changes: 1 addition & 1 deletion packaging/linux/systemd/keybase.service
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ EnvironmentFile=-%t/keybase/keybase.env
EnvironmentFile=-%h/.config/keybase/keybase.autogen.env
EnvironmentFile=-%h/.config/keybase/keybase.env

ExecStart=/usr/bin/keybase --use-default-log-file --debug service
ExecStart=/usr/bin/keybase --use-default-log-file service
Restart=on-failure

[Install]
Expand Down