github.com/slackhq/nebula@v1.9.0/examples/service_scripts/nebula.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>KeepAlive</key>
     6          <true/>
     7          <key>Label</key>
     8          <string>net.defined.nebula</string>
     9          <key>WorkingDirectory</key>
    10          <string>/Users/{username}/.local/bin/nebula</string>
    11          <key>LimitLoadToSessionType</key>
    12          <array>
    13              <string>Aqua</string>
    14              <string>Background</string>
    15              <string>LoginWindow</string>
    16              <string>StandardIO</string>
    17              <string>System</string>
    18          </array>
    19          <key>ProgramArguments</key>
    20          <array>
    21              <string>./nebula</string>
    22              <string>-config</string>
    23              <string>./config.yml</string>
    24          </array>
    25          <key>RunAtLoad</key>
    26          <true/>
    27          <key>StandardErrorPath</key>
    28          <string>./nebula.log</string>
    29          <key>StandardOutPath</key>
    30          <string>./nebula.log</string>
    31          <key>UserName</key>
    32          <string>root</string>
    33      </dict>
    34  </plist>