Starting RocketShipIt Print Server On Startup (OSX)¶
Overview¶
- Move RocketShipIt Print Server folder to your home directory
- Create file: Library/LaunchAgents/com.rocketshipit.printserver.plist
- Change the path to your home dir
- Create start.sh in the RS Print Server folder
- Make start.sh executable
- Test it
Create plist File¶
Start by creaing this following file, ~/Library/LaunchAgents/com.rocketshipit.printserver.plist
Make sure to change the path to where you have the RocketShipIt Print server folder.
com.rocketshipit.printserver.plist:
<?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>com.rocketshipit.printserver</string>
<key>Program</key>
<!-- CHANGE THIS NEXT LINE -->
<string>/Users/mark/RS-Print-Server-Mac/start.sh</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Create start.sh File¶
Within the RocketShipIt Print Server folder create the file start.sh and change path:
start.sh:
#!/bin/bash
# Change the path below to match
cd /Users/mark/RS-Print-Server-Mac && ./serve