del.icio.us [refresh.dk]
03:44 AM, 08 Jun 2005 by Ben Koot Permalink | Comments (4)
No need for daemontools on MacOS X Tiger
Just copy/paste the following into a file called org.openacs.OpenACS.plist.
################# COPY BELOW ###########################
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTD
s/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.openacs.OpenACS</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/var/lib/aolserver/openacs/etc/daemontools/run</string>
</array>
<key>ServiceDescription</key>
<string>OpenACS Service</string>
<key>UserName</key>
<string>ncarroll</string>
<key>GroupName</key>
<string>web</string>
</dict>
</plist>
################# COPY ABOVE ###########################
Then use the command below to start up the service:
$sudo launchctl load /Library/LaunchDaemons/org.openacs.OpenACS.plist
And the command below to stop the service:
sudo launchctl unload /Library/LaunchDaemons/org.openacs.OpenACS.plist
Couldn't be simpler.
01:31 AM, 08 Jun 2005 by Nick Carroll Permalink | Comments (1)
| June 2005 | ||||||
| S | M | T | W | T | F | S |
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | ||