From f0a2a8f5ec8104e2b541b086d3f31890a255a97d Mon Sep 17 00:00:00 2001 From: anujchandra Date: Sun, 17 Jan 2021 21:24:48 +0000 Subject: [PATCH] Add restart hook --- restart | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 restart diff --git a/restart b/restart new file mode 100755 index 0000000..05689f6 --- /dev/null +++ b/restart @@ -0,0 +1,6 @@ +#!/bin/bash + +curl -n -X DELETE https://api.heroku.com/apps/ggfind/dynos \ + -H "Content-Type: application/json" \ + -H "Accept: application/vnd.heroku+json; version=3" \ + -H "Authorization: Bearer $AUTH_TOKEN"