github.com/bored-engineer/go-launchd@v0.0.0-20230905041514-6aff1185c30f/example/agent.plist (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3  <plist version="1.0">
     4  <dict>
     5      <key>Label</key>
     6      <string>engineer.bored.go-launchd</string>
     7      <key>Program</key>
     8      <string>/tmp/agent</string>
     9      <key>StandardOutPath</key>
    10      <string>/tmp/agent.stdout</string>
    11      <key>StandardErrorPath</key>
    12      <string>/tmp/agent.stderr</string>
    13      <key>Sockets</key>
    14      <dict>
    15          <key>Listeners</key>
    16          <dict>
    17              <key>SockServiceName</key>
    18              <string>1337</string>
    19              <key>SockType</key>
    20              <string>stream</string>
    21              <key>SockFamily</key>
    22              <string>IPv4</string>
    23          </dict>
    24      </dict>
    25  </dict>
    26  </plist>