{ "module": "mesh-mail-notifier", "version": "1", "runs-as": "mesh-mail-notifier", "claims": [ { "name": "mail-notifier", "scope": "node", "serves": ["status"] } ], "consumes": [ "mesh-mail.mail.*.message.added" ], "invokes": [ "seat:node-notifier.send", "seat:mail-store.accounts" ], "emits": [ "shown" ], "state": [ { "name": "shown", "ttl-seconds": 2592000 } ], "tools": [ "mail-notifier.status", "mail_notifier_health" ], "own-secrets": { "broker": "${dir:state}/broker" }, "secrets-owner": "mesh-mail-notifier", "resources": [ { "id": "account", "type": "user", "name": "mesh-mail-notifier", "shell": "/usr/bin/nologin", "home": "/var/lib/mesh-mail-notifier" }, { "id": "state", "type": "directory", "mode": "0700", "owner": "mesh-mail-notifier", "place": "." } ], "build": { "artifacts": [ { "name": "tools", "kind": "bundle", "language": "go", "system": "arch", "from": "cmd/mesh-mail-notifier", "binary": "mesh-mail-notifier", "loads": [ "mesh-mail-notifier" ] } ] } }