Skip to content

Commit

Permalink
Merge pull request #98 from OnAndOff-UMC/ci/#97
Browse files Browse the repository at this point in the history
[feat]: 스왑 설정 파일 추가
  • Loading branch information
wu-seong authored Feb 18, 2024
2 parents 3871dba + 2f4571c commit c1494de
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 c1494de

Please sign in to comment.