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