From: Ian Silvester <iansilvester@fastmail.fm>
Date: Fri, 22 Jan 2016 13:53:17 +0000 (+0000)
Subject: Adding two keys to make instantiation and termination more robust
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/static/faq/@default-cgi@toggle?a=commitdiff_plain;h=511ee27ed75136ccd488cf74bc47961d4877a640;p=OSXPackageBuilder.git

Adding two keys to make instantiation and termination more robust
---

diff --git a/pkg content skeleton/Library/LaunchDaemons/org.ijbswa.privoxy.plist b/pkg content skeleton/Library/LaunchDaemons/org.ijbswa.privoxy.plist
index 1030b6c..a96c247 100644
--- a/pkg content skeleton/Library/LaunchDaemons/org.ijbswa.privoxy.plist	
+++ b/pkg content skeleton/Library/LaunchDaemons/org.ijbswa.privoxy.plist	
@@ -4,6 +4,13 @@
 <dict>
 	<key>GroupName</key>
 	<string>_privoxy</string>
+	<key>InitGroups</key>
+	<true/>
+	<key>KeepAlive</key>
+	<dict>
+		<key>SuccessfulExit</key>
+		<false/>
+	</dict>
 	<key>Label</key>
 	<string>org.ijbswa.privoxy</string>
 	<key>ProgramArguments</key>