service: rename Service.Remove to Service.Uninstall.
This commit is contained in:
+1
-1
@@ -224,7 +224,7 @@ func (s *linuxService) Install() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *linuxService) Remove() error {
|
||||
func (s *linuxService) Uninstall() error {
|
||||
if flavor == initSystemd {
|
||||
exec.Command("systemctl", "disable", s.Name+".service").Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user