A module that claims a seat is core, one that claims none a leaf (141 manifests; the build modules and the registry are the other developer's). The forge module's, the gate's and the sweep's states each name 8 MiB, and their findings stream 8 MiB for 7 days. Builds: design 47 H2 §810, §812, §783, §820; H-A-394 (1), H-A-411 (1), (2), H-A-378
83 lines
1.6 KiB
JSON
83 lines
1.6 KiB
JSON
{
|
|
"module": "triggerhappy",
|
|
"version": "0.1",
|
|
"class": "core",
|
|
"moved": true,
|
|
"capabilities": [
|
|
"service-manager"
|
|
],
|
|
"claims": [
|
|
{
|
|
"name": "node-hotkeys",
|
|
"scope": "node"
|
|
}
|
|
],
|
|
"tools": [
|
|
"triggerhappy_keys",
|
|
"triggerhappy_devices",
|
|
"triggerhappy_dump",
|
|
"triggerhappy_check"
|
|
],
|
|
"resources": [
|
|
{
|
|
"id": "drop-ins",
|
|
"type": "directory",
|
|
"path": "/etc/systemd/system/triggerhappy.service.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "as-account",
|
|
"type": "file",
|
|
"path": "/etc/systemd/system/triggerhappy.service.d/mesh.conf",
|
|
"mode": "0644",
|
|
"template": "files/service.conf"
|
|
},
|
|
{
|
|
"id": "triggers-dir",
|
|
"type": "directory",
|
|
"path": "/etc/triggerhappy/triggers.d",
|
|
"mode": "0755",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "triggers",
|
|
"type": "file",
|
|
"path": "/etc/triggerhappy/triggers.d/mesh.conf",
|
|
"mode": "0644",
|
|
"template": "files/triggers.conf"
|
|
},
|
|
{
|
|
"id": "service",
|
|
"type": "service",
|
|
"unit": "triggerhappy.service",
|
|
"state": "running",
|
|
"boot": "enabled",
|
|
"restart-on": [
|
|
"as-account",
|
|
"triggers"
|
|
]
|
|
}
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/triggerhappy-tools",
|
|
"binary": "triggerhappy-tools",
|
|
"loads": [
|
|
"triggerhappy-tools"
|
|
]
|
|
},
|
|
{
|
|
"name": "files",
|
|
"kind": "archive",
|
|
"from": "files"
|
|
}
|
|
]
|
|
}
|
|
}
|