Created
March 3, 2015 17:54
-
-
Save khanghoang/0f34b6fb60822d60a3d2 to your computer and use it in GitHub Desktop.
POLO launchd script to run meteor server at startup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /Library/LaunchDaemon | |
<?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>Disabled</key> | |
<false/> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>HOME</key> | |
<string>/usr/local/bin</string> | |
<key>USER</key> | |
<string>root</string> | |
</dict> | |
<key>GroupName</key> | |
<string>wheel</string> | |
<key>InitGroups</key> | |
<true/> | |
<key>Label</key> | |
<string>polo.startup.meteor</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/sh</string> | |
<string>/Users/poloserver/Documents/polo_system/polling/RunServer.sh</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StandardErrorPath</key> | |
<string>/Users/polouser/Documents/stderr</string> | |
<key>StandardOutPath</key> | |
<string>/Users/polouser/Documents/stdout</string> | |
<key>UserName</key> | |
<string>root</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment