Skip to content

io.systemd.MuteConsole

API for temporarily muting noisy output to the main kernel console

Property Value
Go package github.com/rossedman/sdvarlink/systemd/latest/muteconsole
Socket /run/systemd/io.systemd.MuteConsole
Available since systemd v260
Methods · types · errors 1 · 0 · 0

Methods

Mute

streaming (requires more)

Mute kernel and PID 1 output to the main kernel console

func (c *Client) Mute(ctx context.Context, in MuteIn) iter.Seq2[*struct{}, error]

Parameters

Field Type Description
kernel ?bool Whether to mute the kernel's output to the console (defaults to true).
pid1 ?bool Whether to mute PID1's output to the console (defaults to true).