pallet.crate.socklog documentation

A pallet crate to install and configure socklog for use with runit.

default-settings

var

Provides default settings, that are merged with any user supplied settings.

install

fn

[{:keys [facility instance-id], :as options}]

Install socklog

server-spec

fn

[{:keys [facility], :as settings} & {:keys [instance-id], :as options}]

Returns a server-spec that installs and configures socklog.

service

fn

[& {:keys [action facility if-flag if-stopped instance-id], :or {action :manage}, :as options}]

Run the socklog service.

settings

fn

[{:keys [facility], :as settings} & {:keys [instance-id], :as options}]

Settings for socklog. The :facility keyword must be one of :unix, :inet, :klog or :ucspi

user

fn

[{:keys [facility instance-id], :as options}]

Create the socklog users