updater service exit code should be 11

This commit is contained in:
Bojan Zelic 2020-09-17 14:52:21 -07:00 committed by Silver
parent 197d65659a
commit fa061ab54e
1 changed files with 1 additions and 1 deletions

View File

@ -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'
`,
},
{