MCPcopy Index your code
hub / github.com/kardianos/service

github.com/kardianos/service @v1.2.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.4 ↗ · + Follow
367 symbols 963 edges 30 files 66 documented · 18% 21 cross-repo links updated 2d ago★ 4,823138 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

service GoDoc

service will install / un-install, start / stop, and run a program as a service (daemon). Currently supports Windows XP+, Linux/(systemd | Upstart | SysV), and OSX/Launchd.

Windows controls services by setting up callbacks that is non-trivial. This is very different then other systems. This package provides the same API despite the substantial differences. It also can be used to detect how a program is called, from an interactive terminal or from a service manager.

BUGS

  • Dependencies field is not implemented for Linux systems and Launchd.
  • OS X when running as a UserService Interactive will not be accurate.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 252
Function 79
Struct 29
Interface 5
TypeAlias 2

Languages

Go100%

Modules by API surface

service.go45 symbols
service_windows.go40 symbols
service_darwin.go25 symbols
service_systemd_linux.go23 symbols
service_solaris.go22 symbols
service_aix.go22 symbols
service_freebsd.go21 symbols
service_upstart_linux.go19 symbols
service_openrc_linux.go18 symbols
service_rcs_linux.go16 symbols
service_sysv_linux.go15 symbols
service_unix.go13 symbols

Dependencies from manifests, versioned

golang.org/x/sysv0.34.0 · 1×

For agents

$ claude mcp add service \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page