Skip to content

Instantly share code, notes, and snippets.

@richardtallent
Created August 16, 2016 04:22
Show Gist options
  • Select an option

  • Save richardtallent/aaf232d46ad77e7b0b40aa79b16dc8b8 to your computer and use it in GitHub Desktop.

Select an option

Save richardtallent/aaf232d46ad77e7b0b40aa79b16dc8b8 to your computer and use it in GitHub Desktop.

Revisions

  1. richardtallent created this gist Aug 16, 2016.
    29 changes: 29 additions & 0 deletions dotnet.api.plist
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    <?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>