print current datetime on start

This commit is contained in:
2018-09-13 10:42:22 +02:00
parent 903914bd98
commit 2f634f37b1

3
renew_cert.sh Executable file → Normal file
View File

@ -17,6 +17,9 @@ openssl_conf=$opt_dir/openssl.conf
# stop script if receive SIGINT signal (ctrl-c)
trap "exit" INT
#print starting date
echo "Cert renew script: $(date)"
# check if needed files are provided
if [ $# -eq 0 ]; then
echo "No arguments provided."