pallet.crate.runit documentation

A pallet crate to install and configure runit.

runit is not configured to replace init as PID 1.

configure

fn

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

Write out job definitions.

default-settings

fn

[]

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

install

fn

[{:keys [instance-id]}]

Install runit

server-spec

fn

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

Returns a server-spec that installs and configures runit.

settings

fn

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

Settings for runit

user

fn

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

Create the runit user