| Crates.io | sysunit |
| lib.rs | sysunit |
| version | 0.6.2 |
| created_at | 2025-02-03 02:06:05.296868+00 |
| updated_at | 2025-02-03 02:06:05.296868+00 |
| description | A minimal state management tool for POSIX systems |
| homepage | https://jackforrest.codes/sysunit |
| repository | |
| max_upload_size | |
| id | 1540044 |
| size | 234,178 |
Minimal state management tool for POSIX systems.
Sysunit is currently oriented towards the Rust community and is only distributed via Cargo.
cargo install sysunit
Given this basic unit:
# foo_file.sh
check() {
if [ -f /tmp/foo ]; then
present
fi
}
apply() touch /tmp/foo;
remove() rm /tmp/foo;
sysunit apply foo_file.sh will ensure that /tmp/foo exists on the local system,
and sysunit remove foo_file.sh will remove it.
This project is licensed under the GNU Affero General Public License (AGPL) v3.0. See the LICENSE file for details.