cloudflared-mirror/.mac_resources/scripts/postinstall

7 lines
188 B
Plaintext
Raw Normal View History

#!/bin/bash
# uninstall first in case this is an upgrade
/usr/local/bin/cloudflared service uninstall
# install the new service using launchctl
/usr/local/bin/cloudflared service install