Commit 9cbc9f7f authored by Cédric BRINER's avatar Cédric BRINER Committed by Cédric BRINER
Browse files

web-status-graphite: better output for status

parent f092acf0
......@@ -1639,7 +1639,13 @@ EOF
pb "- restart web-status-graphite" | indent 3
ssh root@${h} "systemctl restart web-status-graphite.service" | indent 6
pb "- status web-status-graphite" | indent 3
ssh root@${h} "systemctl status web-status-graphite.service" | indent 6
if ssh root@${h} "systemctl status web-status-graphite.service" | grep -q running ; then
pg "Running !" | indent 6
else
pr "Not running !" | indent 6
pb "Exit !"
exit 1
fi
#
# POST-SCRIPT
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment