Skip to main content

Crate daemon_forge

Crate daemon_forge 

Source
Expand description

§DaemonForge

DaemonForge is a cross-platform library for creating system daemons (background services) in Rust. It abstracts away the low-level complexities of operating system process management, providing a safe, idiomatic, and ergonomic builder API.

This crate is suitable for learning and experimentation, but not recommended for serious or production projects.

Structs§

ForgeDaemon
Main constructor to configure and launch the daemon process.
Group
Represents a system group (Unix).
User
Represents a system user (Unix).

Enums§

DaemonError
Custom error type for DaemonForge. Provides specific details about why the daemonization failed.
Stdio
Defines the behavior of input/output streams (stdin, stdout, stderr).

Type Aliases§

DaemonResult
A specialized Result type for DaemonForge operations.