summaryrefslogtreecommitdiffstats
path: root/dehydrated/share/hooks/exit_hook.service-reload
diff options
context:
space:
mode:
Diffstat (limited to 'dehydrated/share/hooks/exit_hook.service-reload')
-rwxr-xr-xdehydrated/share/hooks/exit_hook.service-reload4
1 files changed, 3 insertions, 1 deletions
diff --git a/dehydrated/share/hooks/exit_hook.service-reload b/dehydrated/share/hooks/exit_hook.service-reload
index cee1d98..c3fbdc2 100755
--- a/dehydrated/share/hooks/exit_hook.service-reload
+++ b/dehydrated/share/hooks/exit_hook.service-reload
@@ -21,9 +21,11 @@
set -e
+SERVICES="apache2 haproxy knot postgresql redis-server"
+
echo " + Reloading services..."
-for SERVICE in apache2 haproxy knot postgresql redis-server
+for SERVICE in ${SERVICES}
do
if service ${SERVICE} status > /dev/null 2>&1
then