add a config for mac's LaunchAgents with instructions in README

This commit is contained in:
Rakuraku Jyo
2011-04-12 10:52:01 +09:00
parent fdbce861de
commit ece70481a7
2 changed files with 23 additions and 1 deletions
+9 -1
View File
@@ -64,4 +64,12 @@ How to compile and install on Mac OSX 10.6
* perl shairport.pl
OSX 10.5 only bundles perl 5.8, which won't work with shairport. After getting a update
here (http://www.perl.org/get.html), it worked.
here (http://www.perl.org/get.html), it worked.
How to run as a daemon on Mac
------
* cp hairtunes shairport.pl /usr/local/bin
* vi /usr/loca/bin/shairport.pl, change the path of hairtunes from ./hairtunes to /usr/loca/bin/hairtunes
* cp org.mafipulation.shairport.plist ~/Library/LaunchAgents/
* launchctl load org.mafipulation.shairport
* launchctl start org.mafipulation.shairport