updater service exit code should be 11

This commit is contained in:
Bojan Zelic 2020-09-17 14:52:21 -07:00
parent 0708a49848
commit d87559964d
No known key found for this signature in database
GPG Key ID: 6C52CAD26E39F754
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ Description=Update Argo Tunnel
After=network.target After=network.target
[Service] [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'
`, `,
}, },
{ {