Re: launch agent and firewall
Re: launch agent and firewall
- Subject: Re: launch agent and firewall
- From: Nick <email@hidden>
- Date: Sun, 13 Sep 2015 20:29:12 +0300
Okay, so now the behavior is really strange.
I have a LaunchAgent, that acts as a web server, so it holds open a specific port and should accept incoming connections on that port. The agent is set to RunAtLoad=True, so it starts up whenever the OS X starts up.
This is normal and expected.
So I select "Allow", the application works fine.
Then I reboot the system. And this pop up shows up again. This is weird, because in System Preferences => Security & Privacy => "Firewall" I can see my application, and it is set to "Allow incoming connections". But every time I restart my mac, I am getting this firewall popup window, which is annoying.
Is there any way to get rid of this "Allow incoming connections?" pop up, once the user selected "Allow" for a launch agent?
Here's the plist for the launch agent:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.my.WebServer</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>exec "$HOME/Library/Application Support/com.my.WebServer/WebServer"</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Thank you
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden