[Box Backup] Update plist.in items for OS X

Achim boxbackup@boxbackup.org
Tue, 31 Mar 2009 22:38:04 +0200


This is a multi-part message in MIME format.
--------------070805010502020109030406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Good evening:

Please find enclosed the updated plist items for OS X startupwith the 
following additions compared to current trunk

* use of -D (Debugging Mode)
This allows launchd to manage the daemon properly, since such processes 
should not fork and daemonise. From the help page: "-D Debugging mode, 
do not fork, one process only, one client only"

* Set "LowPriorityIO" to "true"
This optional key specifies whether the kernel should consider this 
daemon to be low priority when doing file system I/O.

* Set Nice to "1"
This optional key specifies what nice(3) value should be applied to the 
daemon.

* Relocationg configuration files to 
@prefix@/etc/boxbackup/bbackupd.conf to allow for seamless 
installation/deinstallation

It would be great if you could include these changes in Trunk!

Best regards, Achim

--------------070805010502020109030406
Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0";
 name="net.qustodium.bbstored.plist.in"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="net.qustodium.bbstored.plist.in"

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>org.boxbackup.bbstored</string>
	<key>RunAtLoad</key>
	<true/>
	<key>ProgramArguments</key>
	<array>
		<string>@prefix@/sbin/bbstored</string>
		<string>-D</string>
		<string>@prefix@/etc/boxbackup/bbackupd.conf</string>
	</array>
	</array>
        <key>LowPriorityIO</key>
        <true/>
        <key>Nice</key>
        <integer>1</integer>
</dict>
</plist>

--------------070805010502020109030406
Content-Type: text/xml; x-mac-type="0"; x-mac-creator="0";
 name="net.qustodium.bbackupd.plist.plist.in"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="net.qustodium.bbackupd.plist.plist.in"

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>org.boxbackup.bbackupd</string>
	<key>RunAtLoad</key>
	<true/>
	<key>ProgramArguments</key>
	<array>
		<string>@prefix@/sbin/bbackupd</string>
		<string>-D</string>
		<string>@prefix@/etc/boxbackup/bbackupd.conf</string>
	</array>
        <key>LowPriorityIO</key>
        <true/>
        <key>Nice</key>
        <integer>1</integer>
</dict>
</plist>

--------------070805010502020109030406
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="bbackup.plist.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="bbackup.plist.diff"

--- org.boxbackup.bbackupd.plist.in	2009-03-31 22:26:18.000000000 +0200
+++ net.qustodium.bbackupd.plist	2009-03-31 22:29:15.000000000 +0200
@@ -9,6 +9,12 @@
 	<key>ProgramArguments</key>
 	<array>
 		<string>@prefix@/sbin/bbackupd</string>
+		<string>-D</string>
+		<string>@prefix@/etc/boxbackup/bbackupd.conf</string>
 	</array>
+        <key>LowPriorityIO</key>
+        <true/>
+        <key>Nice</key>
+        <integer>1</integer>
 </dict>
 </plist>

--------------070805010502020109030406
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="bbstored.plist.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="bbstored.plist.diff"

--- org.boxbackup.bbstored.plist.in	2009-03-31 22:30:34.000000000 +0200
+++ net.qustodium.bbstored.plist	2009-03-31 22:31:36.000000000 +0200
@@ -9,6 +9,13 @@
 	<key>ProgramArguments</key>
 	<array>
 		<string>@prefix@/sbin/bbstored</string>
+		<string>-D</string>
+		<string>@prefix@/etc/boxbackup/bbackupd.conf</string>
 	</array>
+	</array>
+        <key>LowPriorityIO</key>
+        <true/>
+        <key>Nice</key>
+        <integer>1</integer>
 </dict>
 </plist>

--------------070805010502020109030406--