diff options
| author | 2026-01-19 20:18:38 +0100 | |
|---|---|---|
| committer | 2026-01-19 20:18:38 +0100 | |
| commit | 647fa59ecbc8b51309ef20288de5eb73a042f869 (patch) | |
| tree | 71bcdb01237d7b67df91588bf84572050b161155 /nitro@/unitroctl | |
initial importnitro
Diffstat (limited to '')
| -rwxr-xr-x | nitro@/unitroctl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nitro@/unitroctl b/nitro@/unitroctl new file mode 100755 index 0000000..d84817a --- /dev/null +++ b/nitro@/unitroctl @@ -0,0 +1,9 @@ +#!/bin/sh + +: ${NITRO_SOCK:=/run/user/$(id -u)/nitro/nitro.sock} +if [ ! -S "$NITRO_SOCK" ]; then + echo "unitroctl: couldn't find socket $NITRO_SOCK" >&2 + exit 1 +fi +export NITRO_SOCK +exec nitroctl "$@" |
