1
0
mirror of https://github.com/rclone/rclone.git synced 2025-11-23 21:44:49 +02:00
Files
rclone/lib/daemonize/daemon_other.go
Lakshmi-Surekha ed87f82d21 build: enable support for aix/ppc64
* Adds "aix/ppc64" to the cross-compile target list.
* Including AIX in the build tag of "metadata_other.go".
* Excluding AIX from the main ncdu build tags.
* Marking AIX as an unsupported platform for ncdu.
* Excluding AIX from the fallback redirect implementation.
* Excluding AIX from unix build tags to avoid undefined unix.WNOHANG.
2025-10-27 13:34:58 +00:00

23 lines
516 B
Go

//go:build !unix || aix
// Package daemonize provides daemonization stub for non-Unix platforms.
package daemonize
import (
"fmt"
"os"
"runtime"
)
var errNotSupported = fmt.Errorf("daemon mode is not supported on the %s platform", runtime.GOOS)
// StartDaemon runs background twin of current process.
func StartDaemon(args []string) (*os.Process, error) {
return nil, errNotSupported
}
// Check returns non nil if the daemon process has died
func Check(daemon *os.Process) error {
return errNotSupported
}