Crate serlib

Crate serlib 

Source

Modules§

platform
plist
systemd

Structs§

CalendarSchedule
Represents a calendar-based schedule for running services. Fields are optional - None means “any” (like * in cron).
FsServiceDetails
ServiceDetails

Functions§

is_verbose
Check if verbose mode is enabled.
run_command
Run a command, optionally logging it to stderr if verbose mode is enabled. Returns the command output.
run_command_status
Run a command and wait for status, optionally logging it to stderr if verbose mode is enabled.
set_verbose
Set verbose mode. When enabled, all executed commands are printed to stderr.
spawn_command
Spawn a command, optionally logging it to stderr if verbose mode is enabled. Returns the child process.