Documentation
¶
Overview ¶
Package loginservice registers a user-level service so sync sessions resume at login.
This is opt-in and nothing is installed otherwise. Nothing resumes automatically after a reboot by default: a session that silently came back and started reconciling files an engineer had forgotten about is worse than one reported as not running.
Index ¶
Constants ¶
const Label = "io.agyn.sync"
Label names the service on both platforms. Reverse-DNS is the macOS convention and harmless on Linux.
Variables ¶
var ErrUnsupported = errors.New("resume-at-login is not available on this platform")
ErrUnsupported reports a platform with no user-level service manager we target. The CLI ships darwin and linux only.
Functions ¶
func Install ¶
Install registers the service. It is idempotent: installing twice leaves one registration.
Types ¶
This section is empty.