1 unstable release
0.6.2 | Feb 3, 2025 |
---|
#1047 in Unix APIs
118 downloads per month
130KB
3.5K
SLoC
Sysunit
Minimal state management tool for POSIX systems.
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