순환할 로그파일 지정하는 파일중에 syslog 내용인데
스크립트가 잘 이해가 안되서 도움을 구합니다.
/var/log/boot.log {
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || e
endscript
}
위 스크립트에서
bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || e
이 구문 좀 말로 설명해 주세요 ' 는 무엇이며 2>는 무엇인지 등등 ^^;
글구 postrotate endscript도 잘 모르겠습니다.
스크립트 작성 형식인가요?
초보