Commit 93485550 authored by Maxime Bombar's avatar Maxime Bombar

Desarchive /usr/scripts/utils/letsencrypt/sync-certificates

parent 2587d2bd
if [ $UID != 0 ]; then
echo "Le script devrait être lancé en tant que root"
exit 1
if [[ "$HOSTNAME" = "bakdaur" ]]; then
rsync -e 'ssh -i /etc/crans/secrets/letsencrypt-proxy' --rsync-path="/usr/bin/sudo /usr/bin/rsync" -av --progress -A -H -X /etc/letsencrypt/live /etc/letsencrypt/archive
echo "Devrait être lancé sur bakdaur"
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