Skip to content

Commit

Permalink
Mount EFS on boot.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Aug 12, 2018
1 parent 4a9646f commit 38f1c38
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .ebextensions/11-efs.config
Expand Up @@ -6,10 +6,12 @@
#
# commands:
# "01":
# command: mkdir /mnt/efs
# command: mkdir -p /mnt/efs
# test: test ! -d /mnt/efs
# "02":
# command: mountpoint -q /mnt/efs || mount -t efs -o tls fs-01234567:/ /mnt/efs
# command: grep -q /mnt/efs /etc/fstab || echo "fs-01234567:/ /mnt/efs efs tls,_netdev" >> /etc/fstab
# "03":
# command: mountpoint -q /mnt/efs || mount /mnt/efs
# "04":
# command: ln -s /mnt/efs/etc/letsencrypt /etc/letsencrypt
# test: test ! -h /etc/letsencrypt

0 comments on commit 38f1c38

Please sign in to comment.