void-packages/srcpkgs/k3s/files/k3s-server/run

7 lines
155 B
Bash
Executable File

#!/bin/sh
set --
[ -r /etc/k3s/config ] && . /etc/k3s/config
[ -r ./conf ] && . ./conf
exec 2>&1
exec k3s server ${K3S_OPTIONS} ${K3S_SERVER_OPTIONS} "$@"