cloudflared-mirror/cmd/cloudflared
João "Pisco" Fernandes 541c63d737 TUN-7824: Fix usage of systemctl status to detect which services are installed
## Summary
To determine which services were installed, cloudflared, was using the command
`systemctl status` this command gives an error if the service is installed
but isn't running, which makes the `uninstall services` command report wrongly
the services not installed. Therefore, this commit adapts it to use the
`systemctl list-units` command combined with a grep to find which services are
installed and need to be removed.
2023-09-22 15:35:55 +01:00
..
access TUN-7628: Correct Host parsing for Access 2023-07-25 09:33:11 -07:00
cliutil TUN-7134: Acquire token for cloudflared tail 2023-04-12 09:43:38 -07:00
proxydns TUN-6963: Refactor Metrics service setup 2022-11-22 11:35:48 +00:00
tail TUN-7393: Add json output for cloudflared tail 2023-04-26 15:41:00 +00:00
tunnel TUN-7813: Improve tunnel delete command to use cascade delete 2023-09-20 12:35:43 +01:00
updater TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
app_forward_service.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
app_resolver_service.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
app_service.go TUN-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
common_service.go TUN-5679: Add support for service install using Tunnel Token 2022-03-03 18:59:03 +00:00
generic_service.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
linux_service.go TUN-7824: Fix usage of systemctl status to detect which services are installed 2023-09-22 15:35:55 +01:00
macos_service.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00
main.go TUN-7134: Acquire token for cloudflared tail 2023-04-12 09:43:38 -07:00
service_template.go TUN-7590: Remove usages of ioutil 2023-07-17 19:08:38 +00:00
windows_service.go TUN-7584: Bump go 1.20.6 2023-07-26 13:52:40 -07:00