mirror of
https://github.com/micromdm/micromdm/
synced 2026-05-14 02:39:50 +08:00
14 lines
382 B
Bash
Executable File
14 lines
382 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source $MICROMDM_ENV_PATH
|
|
micromdm_go_path="$(go env GOPATH)/src/github.com/micromdm/micromdm"
|
|
micromdm="$micromdm_go_path/build/$(uname |tr [:upper:] [:lower:])/micromdm"
|
|
config_root="$micromdm_go_path/tools/ngrok/config_root"
|
|
mkdir -p $config_root
|
|
|
|
$micromdm serve \
|
|
-api-key $API_TOKEN \
|
|
-server-url=$SERVER_URL \
|
|
-config-path $config_root \
|
|
-tls=false "$@"
|