[Box Backup] Start on boot on Mac OSX

Remco Poelstra boxbackup@fluffy.co.uk
Tue, 21 Nov 2006 12:08:13 +0100


Thanks! I'll look into this.

Remco Poelstra

Op 21-nov-2006, om 9:44 heeft Ben Summers het volgende geschreven:

>
> On 20 Nov 2006, at 21:01, Remco Poelstra wrote:
>
>> Hi,
>>
>> I've manged to get bbackupd running on my Mac. I was wondering:  
>> what is the best way to start bbackupd on boot?
>
> Use launchd -- works well. An example plist file below. I have it  
> in ~/Library/LaunchAgents to start it when I log in. Modify  
> accordingly to work as a boot launch item.
>
> Note the SINGLEPROCESS argument. This allows launchd to manage it  
> properly, since such processes should not fork and daemonise.
>
> Ben
>
>
>
> <?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>uk.co.fluffy.BoxBackup</string>
> 	<key>OnDemand</key>
> 	<false/>
> 	<key>ProgramArguments</key>
> 	<array>
> 		<string>/Users/ben/boxbackup/bin/bbackupd</string>
> 		<string>/Users/ben/boxbackup/config/bbackupd.conf</string>
> 		<string>SINGLEPROCESS</string>
> 	</array>
> </dict>
> </plist>
>
>
>
>
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup