#process #unix #libc #linux #manager

server-manager

server-manager is a rust library for managing server processes. It encapsulates service startup, shutdown, and background daemon mode. Users can specify the PID file, log file paths, and other configurations through custom settings, while also passing in their own asynchronous server function for execution. The library supports both synchronous and asynchronous operations. On Unix and Windows platforms, it enables background daemon processes.

56 stable releases (5 major)

Uses new Rust 2024

5.0.12 Mar 3, 2026
5.0.5 Dec 13, 2025
5.0.3 Oct 19, 2025
4.0.0 Aug 9, 2025
0.2.0 Feb 11, 2025

#349 in Unix APIs

Download history 21/week @ 2025-12-24 1/week @ 2025-12-31 104/week @ 2026-01-07 4/week @ 2026-01-14 150/week @ 2026-01-21 101/week @ 2026-01-28 238/week @ 2026-02-04 16/week @ 2026-02-11 34/week @ 2026-02-18 113/week @ 2026-02-25 54/week @ 2026-03-04 38/week @ 2026-03-11 277/week @ 2026-03-18 186/week @ 2026-03-25 22/week @ 2026-04-01 263/week @ 2026-04-08

748 downloads per month
Used in 9 crates (via hyperlane-utils)

MIT license

20KB
301 lines

server-manager

Official Documentation

Api Docs

server-manager is a rust library for managing server processes. It encapsulates service startup, shutdown, and background daemon mode. Users can specify the PID file, log file paths, and other configurations through custom settings, while also passing in their own asynchronous server function for execution. The library supports both synchronous and asynchronous operations. On Unix and Windows platforms, it enables background daemon processes.

Installation

To use this crate, you can run cmd:

cargo add server-manager

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at root@ltpp.vip.

Dependencies

~2–3MB
~45K SLoC