44
44
// based on the tag and machineId passed in.
45
45
func MachineAgentUpstartService(name, toolsDir, dataDir, logDir, tag, machineId, logConfig string, env map[string]string) *Conf {
50
50
Desc: fmt.Sprintf("juju %s agent", tag),
51
51
Limit: map[string]string{
52
52
"nofile": fmt.Sprintf("%d %d", maxAgentFiles, maxAgentFiles),
56
56
" --log-file " + utils.ShQuote(logFile) +
57
57
" --data-dir " + utils.ShQuote(dataDir) +