2015-01-27 2 views
0

나를 위해 시작시 일부 구성을로드하는 슈퍼 간단한 스크립트를 만들었습니다. 그러나 이것은 콘솔에서 매우 불분명합니다.puphpet exec_once 터미널에 로깅

방랑 (예 : 코끼리처럼)의 기록 기능을 사용하고 내 컬 -O 출력을 숨길 수 있습니까?

set_server_config.sh

cd /etc/nginx/sites-available 
rm site.dev.conf -y 
curl -O https://gist.githubusercontent.com/.../raw/site.dev.conf 

cd /var/www/site/system/includes/ 
curl -O https://gist.githubusercontent.com/.../raw/config.root.php 
curl -O https://gist.githubusercontent.com/.../raw/config.db.php 

로깅 예 : ==> default: Info: "... some text ..." 꼭두각시에서 오는

==> default: Info: "... some text ..." 

답변

0

이, 당신이하지 않는 단지 echo을 쉘 스크립트 없습니다.

curl -s -O https://gist.githubusercontent.com/.../raw/config.root.php

:

컬 자동 플래그, -s있다