mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
Useful while testing/developing #24385. In the future we can push some of these to Fleet's Docker Hub and include them in `fleetctl preview` to allow demoing of e.g. script execution on linux devices.
11 lines
227 B
Bash
11 lines
227 B
Bash
#!/bin/bash
|
|
|
|
sed -i "s/placeholder/${ENROLL_SECRET}/g" /etc/default/orbit
|
|
export $(cat /etc/default/orbit | xargs)
|
|
|
|
while true; do
|
|
echo "Starting orbit..."
|
|
/opt/orbit/bin/orbit/orbit
|
|
echo "orbit exit code: $?"
|
|
sleep 5
|
|
done
|