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).
61 lines
1.1 KiB
JSON
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": "."
|
|
}
|
|
]
|
|
}
|