mirror of
https://github.com/m8tin/cis.git
synced 2025-12-06 07:48:26 +01:00
Added timestamp to run description
This commit is contained in:
@@ -344,13 +344,13 @@ function main(){
|
|||||||
|
|
||||||
case "${1}${2}" in
|
case "${1}${2}" in
|
||||||
--dns--own)
|
--dns--own)
|
||||||
echo "Renewing own certificates via DNS:"
|
echo "Renewing own certificates at $(date +%F_%T) via DNS:"
|
||||||
own "dns" "${3}" \
|
own "dns" "${3}" \
|
||||||
&& echo "Finished successfully." \
|
&& echo "Finished successfully." \
|
||||||
&& return 0
|
&& return 0
|
||||||
;;
|
;;
|
||||||
--http--own)
|
--http--own)
|
||||||
echo "Renewing own certificates via HTTP:"
|
echo "Renewing own certificates at $(date +%F_%T) via HTTP:"
|
||||||
own "http" "${3}" \
|
own "http" "${3}" \
|
||||||
&& echo \
|
&& echo \
|
||||||
&& echo "Checking configuration of nginx and restart the webserver:" \
|
&& echo "Checking configuration of nginx and restart the webserver:" \
|
||||||
@@ -359,12 +359,12 @@ function main(){
|
|||||||
&& return 0
|
&& return 0
|
||||||
;;
|
;;
|
||||||
--dns--single)
|
--dns--single)
|
||||||
echo "Issue single certificate '${3}' via DNS:"
|
echo "Issue single certificate '${3}' at $(date +%F_%T) via DNS:"
|
||||||
single "dns" "${3}" "${4}" \
|
single "dns" "${3}" "${4}" \
|
||||||
&& return 0
|
&& return 0
|
||||||
;;
|
;;
|
||||||
--http--single)
|
--http--single)
|
||||||
echo "Issue single certificate '${3}' via HTTP:"
|
echo "Issue single certificate '${3}' at $(date +%F_%T) via HTTP:"
|
||||||
single "http" "${3}" "${4}" \
|
single "http" "${3}" "${4}" \
|
||||||
&& echo \
|
&& echo \
|
||||||
&& echo "Checking configuration of nginx and restart the webserver:" \
|
&& echo "Checking configuration of nginx and restart the webserver:" \
|
||||||
|
|||||||
Reference in New Issue
Block a user