From 828076264e9a93c404fb252f5ea1f728ff2665ee Mon Sep 17 00:00:00 2001 From: Bruno Lottero Date: Mon, 31 Oct 2022 16:24:02 -0300 Subject: [PATCH] Issue #799 removed redundant restart --- cmd/cloudflared/linux_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloudflared/linux_service.go b/cmd/cloudflared/linux_service.go index 73d07fd2..493d2e8b 100644 --- a/cmd/cloudflared/linux_service.go +++ b/cmd/cloudflared/linux_service.go @@ -71,7 +71,7 @@ Description=Update cloudflared After=network.target [Service] -ExecStart=/bin/bash -c '{{ .Path }} update; code=$?; if [ $code -eq 11 ]; then systemctl restart cloudflared; exit 0; fi; exit $code' +ExecStart=/bin/bash -c '{{ .Path }} update' `, }, {