From becf2eb62b83ed01f5e782cb8da7bb739ded2bb5 Mon Sep 17 00:00:00 2001 From: Bogdan Rozhkov <71009429+ovoschnoi-salat@users.noreply.github.com> Date: Mon, 15 May 2023 19:30:44 +0300 Subject: [PATCH] fix: systemd service uninstall --- service_systemd_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_systemd_linux.go b/service_systemd_linux.go index 0b1b059..e9fb4d6 100644 --- a/service_systemd_linux.go +++ b/service_systemd_linux.go @@ -210,7 +210,7 @@ func (s *systemd) Uninstall() error { if err := os.Remove(cp); err != nil { return err } - return nil + return s.run("daemon-reload") } func (s *systemd) Logger(errs chan<- error) (Logger, error) {