sysunit

Crates.iosysunit
lib.rssysunit
version0.6.2
created_at2025-02-03 02:06:05.296868+00
updated_at2025-02-03 02:06:05.296868+00
descriptionA minimal state management tool for POSIX systems
homepagehttps://jackforrest.codes/sysunit
repository
max_upload_size
id1540044
size234,178
Jack Forrest (jrforrest)

documentation

README

Sysunit

Minimal state management tool for POSIX systems.

Guide

Installation

Sysunit is currently oriented towards the Rust community and is only distributed via Cargo.

cargo install sysunit

Basic Operation

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.

License

This project is licensed under the GNU Affero General Public License (AGPL) v3.0. See the LICENSE file for details.

Commit count: 0

cargo fmt