Skip to content

Instantly share code, notes, and snippets.

@richardtallent
Created August 16, 2016 04:22
Show Gist options
  • Save richardtallent/aaf232d46ad77e7b0b40aa79b16dc8b8 to your computer and use it in GitHub Desktop.
Save richardtallent/aaf232d46ad77e7b0b40aa79b16dc8b8 to your computer and use it in GitHub Desktop.
<?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>GroupName</key>
<string>_www</string>
<key>InitGroups</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>dotnet.api</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/share/dotnet/dotnet</string>
<string>MyWebApi.dll</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/tmp/dotnet-api-sterr.log</string>
<key>StandardOutPath</key>
<string>/tmp/dotnet-api-stdout.log</string>
<key>UserName</key>
<string>_www</string>
<key>WorkingDirectory</key>
<string>/path/to/dotnetapi/published/folder/</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment