systemd-run wrap for oma package manager.
./src/omactl run -- install --yes htop
Wait and Track(blocking execution):
./src/omactl run --wait --follow -- upgrade --yes
./src/omactl list
./src/omactl list
./src/omactl status <unit>
./src/omactl logs <unit>
./src/omactl result <unit>
./src/omactl cancel <unit>
omactl uses systemd-run to establish a systemd transient unit, the preset unit name is oma-task-<timestamp>-<rand>
.
You can modify it by passing argument --unit=<name>
.
- systemd >= 239
- bash
- oma