Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Starting condor on reboot from OS X mountain lion
- Date: Wed, 5 Sep 2012 13:50:21 -0400
- From: "Cotton, Benjamin J" <bcotton@xxxxxxxxxx>
- Subject: Re: [Condor-users] Starting condor on reboot from OS X mountain lion
John,
Here's what I've used previously. It worked as of... 10.5, I think.
Haven't used it in a while, but it should hopefully get you started.
# startd plist installed
#to /Library/LaunchDaemons/edu.purdue.rcac.boilergrid-condor.service.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>edu.purdue.rcac.boilergrid-condor.service</string>
<key>UserName</key>
<string>condor</string>
<key>ProgramArguments</key>
<array>
<string>/opt/condor/sbin/condor_master</string>
<string>-f</string>
</array>
<key>EnvironmentVariables</key>
<dict>
<key>CONDOR_CONFIG</key>
<string>/opt/condor/etc/condor_config</string>
</dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
# start with
launchctl load -w /Library/LaunchDaemons/edu.purdue.rcac.boilergrid-condor.service.plist
--
Ben Cotton
Purdue University