我在OS X 10.10上安装了带有自制程序的Geoserver。我找不到任何启动文件。所以我尝试自己创建并将其放在〜/ Users / myuser / Library / LaunchAgents中。
我打电话给这个homebrew.mxcl.geoserver.plist
这是内容。这是行不通的。有任何想法吗?我现在必须用
启动Geoservergeoserver / path / to / geoserver_data_dir / data
<?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>KeepAlive</key>
<true/>
<key>Label</key>
<string>homebrew.mxcl.geoserver</string>
<key>ProgramArguments</key>
<array>
<string>geoserver</string>
<string>/Library/WebServer/geoserver_data_dir/data</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>/usr/local/var</string>
</dict>
</plist>