generatePlistContent generates the plist file content
()
| 55 | |
| 56 | // generatePlistContent generates the plist file content |
| 57 | func 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 | } |