mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: mkdir failed and ec2 infinitely re-launch
no-problem with first launch, but could not recover after 2nd launch. cloud-init error message indicate mkdir failed. $ sudo cat /var/log/cloud-init-output.log mkdir: cannot create directory '/verdaccio/conf': File exists
This commit is contained in:
parent
621ebfeb1a
commit
342d284568
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ Resources:
|
|||
mount -a -t efs defaults
|
||||
|
||||
# Create/update the config & password files.
|
||||
mkdir "$BASE/conf"
|
||||
mkdir "$BASE/conf" -p
|
||||
curl -o "$BASE/conf/htpasswd" "${VerdaccioHtpasswdUrl}"
|
||||
curl -o "$BASE/conf/config.yaml" "${VerdaccioConfigUrl}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue