context.put("name", _plistName);
context.put("command", Arrays.asList(_execCmd.split(" ")));
context.put("autoStart", "AUTOMATIC".equals(_config.getString("wrapper.ntservice.starttype", DEFAULT_SERVICE_START_TYPE)));
FileWriter writer = new FileWriter(_plistFile);
t.merge(context, writer);
writer.flush();
writer.close();
_utils.osCommand("launchctl load " + _plistFile, 5000);
}