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

Option not to confirm quitting on MacOS #112

Open
FawziD opened this issue Nov 18, 2023 · 2 comments
Open

Option not to confirm quitting on MacOS #112

FawziD opened this issue Nov 18, 2023 · 2 comments

Comments

@FawziD
Copy link

FawziD commented Nov 18, 2023

Hi, using version 2.1.8 on MacOS Monterey server on MacPro 5,1.
My Mac is set to reboot daily but since installing OpenSpeedTest server it cannot. The App requests a Quit confirmation and blocks the reboot process.
I would like to see an option to enable/disable the quit confirmation request.

Thank you !

@openspeedtest
Copy link
Owner

Apple rejected my first submission, and the Apple Human Interface team told me to add this. I think we can incorporate a feature like this. However, the OpenSpeedTest server for desktop and mobile is not designed for 24/7 operation. For that, you need to use Docker or Nginx. In your case, Nginx would be better. As far as I know, Docker works better on Linux.

Install Nginx on MacOS

brew install nginx

now copy https://github.com/openspeedtest/Speed-Test to /opt/homebrew/var/www and https://github.com/openspeedtest/Nginx-Configuration to /opt/homebrew/etc/nginx/servers/

This will use very few resources, provide better performance, and allow for 24/7 operation.

@openspeedtest
Copy link
Owner

Screencast https://www.youtube.com/watch?v=fUtbXxNndXs

After installing Nginx using Homebrew, check the paths for www and servers directories. I noticed different paths on my Intel MacBook Pro and M1 Mac mini:

For M1 Mac mini (Apple Silicon):

  • /opt/homebrew/var/www
  • /opt/homebrew/etc/nginx/servers/

For X86 (Intel):

  • /usr/local/var/www
  • /usr/local/etc/nginx/servers/

To set up OpenSpeedTest:

  1. Install Homebrew.
  2. Install Nginx (run the command: brew install nginx).
  3. Navigate to /opt/homebrew/var/www, remove any existing files, and paste the files from this GitHub repository.
  4. Go to /opt/homebrew/etc/nginx/servers/ and paste OpenSpeedTest-Server.conf from ost-config.zip. (Use COMMAND+UP from the servers folder.)
  5. Go to /opt/homebrew/etc/nginx/ and paste nginx.conf from ost-config.zip.
  6. Restart Nginx by running brew services restart nginx.

You can download ost-config.zip from this link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants