process이름-1.log
, process이름-1.error.log
: Standard output and error streams from processes started with a Procfile are captured in log files named after the process and stored in /var/log. For example, the web process in the preceding example generates logs named web-1.log and web-1.error.log for stdout and stderr, respectively.packages: yum: libmemcached: [] ruby-devel: [] gcc: [] rpm: epel: http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm rubygems: chef: '0.10.2'
commands: 01_create_dir: test: test ! -d "${DIR}" command: mkdir "${DIR}" # 아래와 같은 식도 가능 test: "[ -x /usr/bin/python ]" # 파이썬이 존재하면 실행
rpm -q wget
: wget
패키지가 설치돼 있으면 true/0
test:
와 함께 사용 불가container_commands: collectstatic: command: "django-admin.py collectstatic --noinput" 01syncdb: command: "django-admin.py syncdb --noinput" leader_only: true