A Service for Nyanapsu to make it easier to operate the privileged actions.
This project includes two crates:
nyanpasu-ipca ipc bridge crate between the service and the client. It provide acreate_serverfn to hold a axum server, and provide ashortcutsmod for swift client rpc call.- It use
named_pipein windows, andunix_socketin unix-like system. - When install service, it should collect the users info (sid in windows, username in unix) for security.
- Grant ACL to the pipe
- When installing, add user to
nyanpasugroup, and grant the group to the pipe.
- It use
nyanpasu-serviceit the main entrance of the service, it provide a control plane to manage the service, and provide arpcsubcommand to test the service.
Run with development preference:
cargo debug-runBuild with development preference:
cargo debug-buildView the service info:
./nyanpasu-service status # service status and health check(if running)
./nyanpasu-service version # build info only