MCPcopy Create free account
hub / github.com/Mister-leo/fssh / generatePlistContent

Function generatePlistContent

cmd/fssh/setup_launchd.go:57–80  ·  view source on GitHub ↗

generatePlistContent generates the plist file content

()

Source from the content-addressed store, hash-verified

55
56// generatePlistContent generates the plist file content
57func generatePlistContent() string {
58 return `<?xml version="1.0" encoding="UTF-8"?>
59<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
60<plist version="1.0">
61 <dict>
62 <key>Label</key>
63 <string>com.fssh.agent</string>
64 <key>ProgramArguments</key>
65 <array>
66 <string>/usr/local/bin/fssh</string>
67 <string>agent</string>
68 </array>
69 <key>RunAtLoad</key>
70 <true/>
71 <key>KeepAlive</key>
72 <true/>
73 <key>StandardOutPath</key>
74 <string>/tmp/fssh-agent.log</string>
75 <key>StandardErrorPath</key>
76 <string>/tmp/fssh-agent.log</string>
77 </dict>
78</plist>
79`
80}

Callers 1

setupLaunchAgentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected