Files
mesh-catalog/modules/systemd/module.json
T
jochen 87c9d9f7e5 Serve unlink-dangling, so a leftover enable link goes through the seat
systemctl disable leaves a link whose unit file is gone, and the manager
keeps asking for the unit. The verb removes only such links in the
account's or the machine's own configuration, on the person's word, and
records each with its reason before removing it (hq issue 332).
2026-10-08 17:53:53 +02:00

61 lines
1.1 KiB
JSON

{
"module": "systemd",
"version": "1",
"capabilities": [
"service-manager",
"package-manager"
],
"claims": [
{
"name": "node-service-manager",
"scope": "node",
"serves": [
"units",
"status",
"start",
"stop",
"restart",
"enable",
"disable",
"journal",
"failed",
"reset-failed",
"wanted-by",
"unlink-dangling"
]
}
],
"build": {
"artifacts": [
{
"name": "tools",
"kind": "bundle",
"language": "go",
"system": "arch",
"from": "cmd/systemd-tools",
"binary": "systemd-tools",
"loads": [
"systemd-tools"
],
"env": {
"MESH_SYSTEMD_STATE": "${dir:state}"
}
}
]
},
"resources": [
{
"id": "package",
"type": "package",
"package": "systemd"
},
{
"id": "state",
"type": "directory",
"mode": "0700",
"owner": "${machine:account}",
"place": "."
}
]
}