Commit 81e1c448 authored by Cédric BRINER's avatar Cédric BRINER Committed by Cédric BRINER
Browse files

web-status-graphite initial commit

parent 5b703ab3
......@@ -1626,6 +1626,20 @@ EOF
ssh root@${h} "systemctl status graphite-idp-process-log" | indent 7
fi
fi
# web-status-graphite
pb " - web-status-graphite"
pb "- rsync /usr/local/unige-web-status-graphite" | indent 3
rsync -av /usr/local/unige-web-status-graphite/ root@${h}:/usr/local/unige-web-status-graphite/ | indent 6
sscp "web-status-graphite.conf" /etc/web-status-graphite.conf root@${h}:/etc/web-status-graphite.conf
sscp "web-status-graphite.service" /etc/systemd/system/web-status-graphite.service root@${h}:/etc/systemd/system/web-status-graphite.service
pb "- systemctl daemon-reload" | indent 3
ssh root@${h} "systemctl daemon-reload" | indent 6
pb "- enable web-status-graphite" | indent 3
ssh root@${h} "systemctl enable /etc/systemd/system/web-status-graphite.service" | indent 6
pb "- restart web-status-graphite" | indent 3
ssh root@${h} "systemctl restart /etc/systemd/system/web-status-graphite.service" | indent 6
pb "- status web-status-graphite" | indent 3
ssh root@${h} "systemctl status /etc/systemd/system/web-status-graphite.service" | indent 6
#
# POST-SCRIPT
#
......
Supports Markdown
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