{ "module": "triggerhappy", "version": "1", "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" }, { "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" }, { "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" } ] } }