mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 13:39:57 +00:00
AUTH-2712 mac package build script and better config file handling when started as a service
This commit is contained in:
7
.mac_resources/scripts/postinstall
Executable file
7
.mac_resources/scripts/postinstall
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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
|
Reference in New Issue
Block a user