Merge remote-tracking branch 'upstream/master'

This commit is contained in:
2024-07-15 11:04:37 +03:00
5 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
//+build aix //go:build aix
// +build aix
// Copyright 2015 Daniel Theophanes. // Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style // Use of this source code is governed by a zlib-style
+2 -1
View File
@@ -1,4 +1,5 @@
//+build go1.8 //go:build go1.8
// +build go1.8
package service package service
+1
View File
@@ -2,6 +2,7 @@
// Use of this source code is governed by a zlib-style // Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !su
// +build !su // +build !su
package service_test package service_test
+1 -1
View File
@@ -210,7 +210,7 @@ func (s *systemd) Uninstall() error {
if err := os.Remove(cp); err != nil { if err := os.Remove(cp); err != nil {
return err return err
} }
return nil return s.run("daemon-reload")
} }
func (s *systemd) Logger(errs chan<- error) (Logger, error) { func (s *systemd) Logger(errs chan<- error) (Logger, error) {
+1
View File
@@ -2,6 +2,7 @@
// Use of this source code is governed by a zlib-style // Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || linux || nacl || netbsd || openbsd || solaris
// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris // +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
package service_test package service_test