Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ systemd.test.ts
File
systemd.test.ts
packages/server/test/svc/systemd.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Pure-
function
tests
for
the systemd backend. No real `systemctl` shell-out —
3
* `execSystemctl` is stubbed so we can assert the exact argv.
4
*
Callers
nothing calls this directly
Calls
13
buildSystemdUnit
Function · 0.90
parseSystemctlShow
Function · 0.90
createSystemdManager
Function · 0.90
readInstallPlan
Function · 0.90
writeInstallPlan
Function · 0.90
keys
Method · 0.80
uninstall
Method · 0.80
makeDeps
Function · 0.70
install
Method · 0.65
start
Method · 0.65
stop
Method · 0.65
restart
Method · 0.65
Tested by
no test coverage detected