Skip to content

Commit

Permalink
feat: 스왑 설정 파일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-seong committed Feb 18, 2024
1 parent 64c2ae7 commit 2f4571c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .ebextensions_dev/02-setup_swap.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
commands:
01setup_swap:
test: test ! -e /var/swapfile
command: |
/bin/dd if=/dev/zero of=/var/swapfile bs=128M count=16
/bin/chmod 600 /var/swapfile
/sbin/mkswap /var/swapfile
/sbin/swapon /var/swapfile

0 comments on commit 2f4571c

Please sign in to comment.