#!/bin/sh # fenris-collect runit log script — service output to /var/log/fenris-collect/ # # Runit automatically pipes the service's stdout/stderr to this logger's stdin. # The logger writes to runit's log directory for diagnostics. # # Spec: §8.8 (actionable native diagnostics) # The package creates the fenris group for shared diagnostics access; it does # not create a service user. Use Void's standard unprivileged account while # giving the logger the declared group identity. exec chpst -u nobody:fenris \ svlogd -tt /var/log/fenris-collect/