cloudflared-mirror/cmd/cloudflared
Christoph Blecker a1403fe968 Handle exit code on err
fixes #96.

This change checks the err returned from the StartServer function, and
if it exists, passes a non-zero error code through to the urfave/cli
framework. This should allow processes like launchd to detect if
cloudflared exited gracefully or with an error.
2019-05-29 12:59:19 -05:00
..
access AUTH-1781: fixed race condition for short lived certs, doc required config 2019-05-23 10:17:43 -05:00
config Support unix sockets. 2019-03-06 18:33:23 -06:00
encrypter TUN-1099: Bring back changes in 2018.10.1 2018-10-08 14:20:28 -05:00
path AUTH-1557: Short Lived Certs 2019-05-07 11:21:11 -05:00
shell TUN-1099: Bring back changes in 2018.10.1 2018-10-08 14:20:28 -05:00
token AUTH-1557: Short Lived Certs 2019-05-07 11:21:11 -05:00
transfer AUTH-1337: fix url path 2019-01-25 13:47:12 -06:00
tunnel TUN-1880: Save debug and warn level log to logfile 2019-05-22 11:05:24 -05:00
updater TUN-1381: should tell you if you're on the latest version rather than just exiting silently 2019-02-14 17:11:52 -06:00
generic_service.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
linux_service.go cloudflared/linux_service: Add missing /etc/init.d shebang 2019-02-01 14:55:30 -06:00
macos_service.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
main.go Handle exit code on err 2019-05-29 12:59:19 -05:00
service_template.go TUN-1138: Install cloudflared service directory with 755 permissions 2019-01-07 13:46:21 -06:00
windows_service.go TUN-1786: Remove low-level Windows service logging 2019-04-30 11:00:35 -05:00