#!/bin/sh
# Fleet v2 rule 2.4: a computer asks its fleet for news when it wakes. systemd runs this with $1 = pre|post.
[ "$1" = post ] || exit 0
[ -S /run/starchaser/fleet/root.sock ] || exit 0
timeout 15 /usr/local/lib/starchaser/starchaser-fleet-root poke >/dev/null 2>&1 &
exit 0
