2017-05-05 07:33:36 +00:00
|
|
|
<?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>Label</key>
|
|
|
|
<string>Goldilocks</string>
|
|
|
|
<key>ProgramArguments</key>
|
|
|
|
<array>
|
2017-05-16 04:34:30 +00:00
|
|
|
<string>/opt/goldilocks/bin/node</string>
|
|
|
|
<string>/opt/goldilocks/bin/goldilocks</string>
|
2017-05-05 19:17:57 +00:00
|
|
|
<string>--config</string>
|
2017-05-05 07:33:36 +00:00
|
|
|
<string>/etc/goldilocks/goldilocks.yml</string>
|
|
|
|
</array>
|
|
|
|
<key>EnvironmentVariables</key>
|
|
|
|
<dict>
|
|
|
|
<key>GOLDILOCKS_PATH</key>
|
2017-05-16 04:34:30 +00:00
|
|
|
<string>/opt/goldilocks</string>
|
|
|
|
<key>NODE_PATH</key>
|
|
|
|
<string>/opt/goldilocks/lib/node_modules</string>
|
|
|
|
<key>NPM_CONFIG_PREFIX</key>
|
|
|
|
<string>/opt/goldilocks</string>
|
2017-05-05 07:33:36 +00:00
|
|
|
</dict>
|
|
|
|
|
|
|
|
<key>UserName</key>
|
|
|
|
<string>root</string>
|
|
|
|
<key>GroupName</key>
|
|
|
|
<string>wheel</string>
|
|
|
|
<key>InitGroups</key>
|
|
|
|
<true/>
|
|
|
|
|
|
|
|
<key>RunAtLoad</key>
|
|
|
|
<true/>
|
|
|
|
<key>KeepAlive</key>
|
|
|
|
<dict>
|
|
|
|
<key>Crashed</key>
|
|
|
|
<true/>
|
|
|
|
<key>SuccessfulExit</key>
|
|
|
|
<false/>
|
|
|
|
</dict>
|
|
|
|
|
|
|
|
<key>SoftResourceLimits</key>
|
|
|
|
<dict>
|
|
|
|
<key>NumberOfFiles</key>
|
|
|
|
<integer>8192</integer>
|
|
|
|
</dict>
|
|
|
|
<key>HardResourceLimits</key>
|
|
|
|
<dict/>
|
|
|
|
|
|
|
|
<key>WorkingDirectory</key>
|
|
|
|
<string>/srv/www</string>
|
|
|
|
|
|
|
|
<key>StandardErrorPath</key>
|
|
|
|
<string>/var/log/goldilocks/error.log</string>
|
|
|
|
<key>StandardOutPath</key>
|
|
|
|
<string>/var/log/goldilocks/info.log</string>
|
|
|
|
</dict>
|
|
|
|
</plist>
|