Commit 1a040c86 authored by Mattia Rizzolo's avatar Mattia Rizzolo

get rid of cron.sh for now

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent d10b7d30
#!/bin/bash
#
# {{ ansible_managed }}
#
set -euo pipefail
IFS=$'\n\t'
BASE="/etc/ssl-keys"
if [[ "`whoami`" != "ssl-keys" ]]; then
echo "This must be run as ssl-keys!"
exit 1
fi
"${BASE}/request.sh"
for hook in `ls -1 "${BASE}/hooks"`; do
if [[ -x "${BASE}/hooks/${hook}" ]]; then
"${BASE}/hooks/${hook}"
fi
done
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