diff --git a/cmd/cloudflared/linux_service.go b/cmd/cloudflared/linux_service.go index fb343460..460c2666 100644 --- a/cmd/cloudflared/linux_service.go +++ b/cmd/cloudflared/linux_service.go @@ -67,7 +67,7 @@ Description=Update Argo Tunnel After=network.target [Service] -ExecStart=/bin/bash -c '{{ .Path }} update; code=$?; if [ $code -eq 64 ]; then systemctl restart cloudflared; exit 0; fi; exit $code' +ExecStart=/bin/bash -c '{{ .Path }} update; code=$?; if [ $code -eq 11 ]; then systemctl restart cloudflared; exit 0; fi; exit $code' `, }, {