6.3.90.900
SystemD Support
Jan Dvořák <mordae@anilinux.org>
1 Daemons
(require systemd/daemon) | package: systemd |
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.
procedure
Returns how many file descriptors have been passed.
procedure
(sd-port index) →
input-port? output-port? index : exact-nonnegative-integer?
Obtains ports for file descriptor at specified position.
Only IPv4 and IPv6 descriptors are currently supported.
2 Unique Identifiers
(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.
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.