summaryrefslogtreecommitdiff
path: root/sentinel-proxy/files/sentinel-reload.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sentinel-proxy/files/sentinel-reload.sh')
-rwxr-xr-xsentinel-proxy/files/sentinel-reload.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/sentinel-proxy/files/sentinel-reload.sh b/sentinel-proxy/files/sentinel-reload.sh
deleted file mode 100755
index f21eceb..0000000
--- a/sentinel-proxy/files/sentinel-reload.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# Reload all sentinel components to apply the newest configuration.
-# The reload is done by running scripts located in HOOKS_DIR
-
-HOOKS_DIR="/usr/libexec/sentinel/reload_hooks.d/"
-
-if ! [ -d "${HOOKS_DIR}" ]; then
- echo "Failed to reload Sentinel: hooks dir does not exist" >&2
- return 1
-fi
-
-for reload_script in "${HOOKS_DIR}"/*; do
- [ -x "${reload_script}" ] || continue
- "${reload_script}"
-done