mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 21:39:06 +00:00
14 lines
242 B
Bash
Executable File
14 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
mkdir -p $(dirname $0)/../bin
|
|
cd $(dirname $0)/../bin
|
|
|
|
echo Running
|
|
ARGS="--disable-agent"
|
|
if echo -- "$@" | grep -q rootless; then
|
|
ARGS=""
|
|
PATH=$(pwd):$PATH
|
|
fi
|
|
go run -tags "apparmor" ../main.go server $ARGS "$@"
|