How to change timeout for Proxy Locator on Mac

0 users found this article helpful

Information

By default, if Mac is not connected to Proxy, Proxy Locator will try to establish contact with Proxy on hourly basis. If it's not successful for a period of one week - upon connection domain/credentials will have to be entered manually in a pop up window.

To change the 1 week timeout, execute the following command in terminal on Mac:

sudo launchctl setenv PMM_PROXY_LOCATION_TIMEOUT <seconds> 

You will need to calculate the required amount of time in seconds. For example, 1 week will be 604800 seconds (there's a google calculator for that, to make your life easier).

If pma_agent (daemon) process is running it must be restarted to apply changes. It can be done with below commands:

sudo launchctl unload -w /Library/LaunchDaemons/com.parallels.pma.agent.launchdaemon.plist

sudo launchctl load -w /Library/LaunchDaemons/com.parallels.pma.agent.launchdaemon.plist

Was this article helpful?

Tell us how we can improve it.