Skip to content

Disable tinyproxy systemd service #623

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

Merged
merged 1 commit into from
Dec 23, 2023
Merged
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: 4 additions & 0 deletions install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,13 @@ git submodule update --init
print_message "Installing needed binaries for building ..."
if lsb_release -is | grep -q "Fedora"; then
sudo dnf -y install lm_sensors lm_sensors-devel glib2 glib2-devel tinyproxy lshw
sudo systemctl stop tinyproxy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ArneTR why do you issue the same command in Fedora and else. Couldn't you only have it once outside of the if?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true, this could be simplified. I changed it on main now.

sudo systemctl disable tinyproxy
else
sudo apt-get update
sudo apt-get install -y lm-sensors libsensors-dev libglib2.0-0 libglib2.0-dev tinyproxy lshw
sudo systemctl stop tinyproxy
sudo systemctl disable tinyproxy
fi

print_message "Building binaries ..."
Expand Down