mirror of
https://github.com/k3s-io/k3s.git
synced 2026-02-03 20:39:49 -05:00
13 lines
242 B
Bash
Executable file
13 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 "$@"
|