Skip to content

Commit

Permalink
MacOS X daemon launcher:
Browse files Browse the repository at this point in the history
  * fixed bad XML
  * better default parameters
  * improved documentation
  • Loading branch information
fangly committed Dec 13, 2010
1 parent b3a4dfc commit a26e479
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions contrib/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ CONTENTS

edu.psu.galaxy.GalaxyServer.plist:

LaunchDaemon definition for OS X (pre-Snow Leopard?). Modify paths and
load with `launchctl load edu.psu.galaxy.GalaxyServer.plist`. Written and
submitted by James Casbon.
This is the LaunchDaemon definition for OS X (pre-Snow Leopard?). Assuming
that Galaxy is installed in the home directory of the user 'galaxy', run:
mkdir /Users/galaxy/galaxy_dist/log
sudo cp /Users/galaxy/galaxy_dist/contrib/edu.psu.galaxy.GalaxyServer.plist /Library/LaunchDaemons/
sudo chown root:wheel /Library/LaunchDaemons/edu.psu.galaxy.GalaxyServer.plist
Launch Galaxy with:
sudo launchctl load /Library/LaunchDaemons/edu.psu.galaxy.GalaxyServer.plist
Galaxy will now be started everytime the computer starts.
Written and submitted by James Casbon.

galaxy.debian-init:

Expand Down
6 changes: 3 additions & 3 deletions contrib/edu.psu.galaxy.GalaxyServer.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>galaxy_dist/run.sh<string>
<string>/Users/galaxy/galaxy_dist/run.sh</string>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>Galaxy</string>
<key>StandardErrorPath</key>
<string>galaxy_dist/log/galaxy.stderr</string>
<string>/Users/galaxy/galaxy_dist/log/galaxy.stderr</string>
<key>StandardOutPath</key>
<string>galaxy_dist/log/galaxy.stdout</string>
<string>/Users/galaxy/galaxy_dist/log/galaxy.stdout</string>
<key>UserName</key>
<string>galaxy</string>
</dict>
Expand Down

0 comments on commit a26e479

Please sign in to comment.