8.18
top
← prev up next →

SystemD SupportπŸ”— i

Jan Dvořák <mordae@anilinux.org>

1DaemonsπŸ”— i

procedure

( sd-notify state)void?

state:string?
Informs systemd about changed daemon state. This takes a number of newline separated environment-style variable assignments in a string.

Does nothing if we are not being run under systemd.

Returns how many file descriptors have been passed.

Obtains ports for file descriptor at specified position. Only IPv4 and IPv6 descriptors are currently supported.

2Unique IdentifiersπŸ”— i

(require systemd/id ) package: systemd

SystemD’s globally unique identifiers with simple hexadecimal format can be used anywhere the traditional uuids can. SystemD itself uses them to identify the local device and current boot of the system.

procedure

( sd-id? v)boolean?

v:any/c
Determine whether the specified value is a properly formatted SystemD identifier.

procedure

( sd-random-id )sd-id?

Generate a new, completely random globally unique identifier.

procedure

( sd-machine-id )sd-id?

Return the unique identifier of the local machine.

procedure

( sd-boot-id )sd-id?

Return the unique identifier of current boot.

top
← prev up next →

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /