feat: ping additional services using doctor

doctor --ping-service postgres:5432 -p mariadb:3306
This commit is contained in:
Revant Nandgaonkar
2020-07-01 20:01:47 +05:30
parent ec9917ee78
commit 6dfb1de5c6
3 changed files with 52 additions and 10 deletions

View File

@@ -154,7 +154,7 @@ elif [ "$1" = 'migrate' ]; then
elif [ "$1" = 'doctor' ]; then
su frappe -c ". /home/frappe/frappe-bench/env/bin/activate \
&& python /home/frappe/frappe-bench/commands/doctor.py"
&& python /home/frappe/frappe-bench/commands/doctor.py ${@:2}"
exit
elif [ "$1" = 'backup' ]; then