require args
This commit is contained in:
8
cert/vpsRenew
Normal file → Executable file
8
cert/vpsRenew
Normal file → Executable file
@@ -2,6 +2,14 @@
|
|||||||
SDIR=$(cd "$(dirname "$0")" ; pwd -P)
|
SDIR=$(cd "$(dirname "$0")" ; pwd -P)
|
||||||
T=$SDIR/../step
|
T=$SDIR/../step
|
||||||
|
|
||||||
|
FILE=$1
|
||||||
|
VALUE=$2
|
||||||
|
|
||||||
|
if [ -z "$FILE" ] || [ -z "$VALUE" ]; then
|
||||||
|
echo "Usage: $0 ACME_FILE ACME_VALUE"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
STEP=0
|
STEP=0
|
||||||
source $T/ensureRootUser
|
source $T/ensureRootUser
|
||||||
source $T/copyNginxACMEConfig
|
source $T/copyNginxACMEConfig
|
||||||
|
|||||||
Reference in New Issue
Block a user