execute renew-certificate from any dir

This commit is contained in:
deflax 2024-12-11 10:53:41 +00:00
parent 60b2f535b3
commit 9427a9b157

View file

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd $parent_path
source variables.env source variables.env
CB=`docker ps | grep certbot | cut -d ' ' -f 1` CB=`docker ps | grep certbot | cut -d ' ' -f 1`