mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-19 02:28:23 +00:00
7 lines
159 B
Bash
7 lines
159 B
Bash
#!/bin/bash
|
|
|
|
STATUS_CODE=$(curl -s -o /dev/null -w "%{http_code}" http://localhost)
|
|
|
|
if [ $STATUS_CODE -lt 200 ] || [ $STATUS_CODE -ge 400 ]; then
|
|
exit 1
|
|
fi
|