spark-supervisor
Process supervisor and health monitor for sovereign daemons
Brought by drakestapleton
spark-supervisor / services / cortex-visitors.svc
| 1 | # cortex-visitors: isolated Cortex for public Allen visitor memory (loopback 18096 only, no outbound). |
| 2 | # Replaces the interim spark-supervisor entry (~/.config/aien/supervisor-interim.toml). |
| 3 | exec /opt/cortex-visitors/run |
| 4 | restart always |
| 5 | backoff 2 60 |
| 6 | user cortex-visitors |
| 7 | env HOME=/var/lib/cortex-visitors |
| 8 | env PATH=/usr/bin:/bin |
| 9 | env RUST_LOG=warn |
| 10 | umask 0027 |
| 11 | ro /opt/cortex-visitors |
| 12 | rw /var/lib/cortex-visitors |
| 13 | net filter |
| 14 | net-default drop |
| 15 | listen 18096 127.0.0.1 |
| 16 | memory-max 536870912 |
| 17 | tasks-max 64 |
| 18 | namespaces no |
| 19 | syscalls @system-service |
| 20 | syscall-error eperm |
| 21 | families unix inet inet6 |
| 22 | mdwe yes |