A Service for Nyanapsu to make it easier to operate the privileged actions.
This project includes two crates:
nyanpasu-ipc
a ipc bridge crate between the service and the client. It provide a create_server
fn to hold a axum server, and provide a shortcuts
mod for swift client rpc call.
named_pipe
in windows, and unix_socket
in unix-like system.nyanpasu
group, and grant the group to the pipe.nyanpasu-service
it the main entrance of the service, it provide a control plane to manage the service, and provide a rpc
subcommand to test the service.Run with development preference:
cargo debug-run
Build with development preference:
cargo debug-build
View the service info:
./nyanpasu-service status # service status and health check(if running)
./nyanpasu-service version # build info only