Option not to confirm quitting on MacOS
FawziD opened this issue · comments
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 !
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.
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:
- Install Homebrew.
- Install Nginx (run the command:
brew install nginx
). - Navigate to
/opt/homebrew/var/www
, remove any existing files, and paste the files from this GitHub repository. - Go to
/opt/homebrew/etc/nginx/servers/
and pasteOpenSpeedTest-Server.conf
fromost-config.zip
. (UseCOMMAND+UP
from the servers folder.) - Go to
/opt/homebrew/etc/nginx/
and pastenginx.conf
fromost-config.zip
. - Restart Nginx by running
brew services restart nginx
.
You can download ost-config.zip
from this link.