#!/bin/sh #------------------------------------------------------------------------------ # /var/install/bin/certs_letsencrypt-archive-certs # # Copyright (c) 2016-2016 The Eisfair Team, team(at)eisfair(dot)org # # Creation : 2016-09-03 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #------------------------------------------------------------------------------ # include eislib etc. . /var/install/include/eislib module_name=`basename $0 | cut -d- -f1` logdir=/var/log clrhome mecho --info "Archive unused Let's Encrypt certificates" { echo echo "${EISDATE} ${EISTIME} - archive unused certificates ..." } >> ${logdir}/${module_name}.log echo /var/install/config.d/${module_name}.sh --cleanup-certs echo anykey