Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #414 from bcwaldon/quit-enabling
Browse files Browse the repository at this point in the history
fix(systemd): Use LinkUnitFiles rather than EnableUnitFiles
  • Loading branch information
bcwaldon committed May 7, 2014
2 parents 1100631 + ef1bf3b commit e5280fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (m *SystemdManager) writeUnit(name string, contents string) error {
return err
}

_, _, err = m.Systemd.EnableUnitFiles([]string{ufPath}, true, false)
_, err = m.Systemd.LinkUnitFiles([]string{ufPath}, true, true)
return err
}

Expand Down

0 comments on commit e5280fc

Please sign in to comment.