service: move windows and darwin to system registry.

Also add API to handle the system registry.
This commit is contained in:
Daniel Theophanes
2015-03-11 12:42:30 -07:00
parent c880387dea
commit 3a7d893dde
6 changed files with 168 additions and 147 deletions
-2
View File
@@ -98,8 +98,6 @@ func (s *systemd) Install() error {
return err
}
return exec.Command("systemctl", "daemon-reload").Run()
return nil
}
func (s *systemd) Uninstall() error {