{ "module": "mesh-delivery-watchman", "version": "1", "slug": "watchman", "reads": [ "mesh-controller.checks-running" ], "state": [ { "name": "presence", "history": 20 }, { "name": "pulse", "key-ttl": true }, { "name": "stuck", "history": 20 } ], "own-secrets": { "broker": "${dir:state}/broker" }, "secrets-owner": "mesh-delivery-watchman", "resources": [ { "id": "account", "type": "user", "name": "mesh-delivery-watchman", "shell": "/usr/bin/nologin", "home": "/var/lib/mesh-delivery-watchman" }, { "id": "state", "type": "directory", "mode": "0700", "owner": "mesh-delivery-watchman", "place": ".", "unknown": "program" }, { "id": "watchman", "type": "process", "name": "mesh-delivery-watchman", "artifact": "program", "run": [ "./mesh-delivery-watchman" ], "env": { "MESH_BROKER_FILE": "${dir:state}/broker" }, "user": "mesh-delivery-watchman", "health": { "kind": "unit" } } ], "build": { "artifacts": [ { "name": "program", "kind": "bundle", "language": "go", "system": "arch", "from": "cmd/mesh-delivery-watchman", "binary": "mesh-delivery-watchman" } ] } }