#posix #systems #shell #operation #basic

app sysunit

A minimal state management tool for POSIX systems

1 unstable release

0.6.2 Feb 3, 2025

#1047 in Unix APIs

Download history 75/week @ 2025-01-28 43/week @ 2025-02-04

118 downloads per month

AGPL-3.0-only

130KB
3.5K SLoC

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.

Dependencies

~16–28MB
~456K SLoC