Skip to content

Commit

Permalink
Revert "Feature : reference to template /etc/default/docker from /etc…
Browse files Browse the repository at this point in the history
…/default/docker-eqx"

This reverts commit acd3e50.
  • Loading branch information
mikefaille committed Sep 12, 2015
1 parent acd3e50 commit 6efd5f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerGrp/daemonGenerator.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ func (dGroup DockerGroup) generateUpstartDaemon() {
panic(err)
}

dockerOPTS := fmt.Sprint("As template, refer to /etc/default/docker\nDOCKER_OPTS=\"", dGroup.Options, "\n\"")
dockerOPTS := fmt.Sprint("#As template, refer to /etc/default/docker\n\nDOCKER_OPTS=\"", dGroup.Options, "\n\"")

defaultFilePath := fmt.Sprint("/etc/default/", dGroup.Name)
err = ioutil.WriteFile(defaultFilePath, []byte(dockerOPTS), 0644)
if err != nil {
Expand Down

0 comments on commit 6efd5f4

Please sign in to comment.