execute renew-certificate from any dir
This commit is contained in:
parent
60b2f535b3
commit
9427a9b157
1 changed files with 3 additions and 0 deletions
|
@ -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`
|
||||||
|
|
Loading…
Reference in a new issue