데몬 스크립트 파일 : /etc/rc.d/init.d/sendmail
작성자 정보
- 구돌 작성
- 작성일
컨텐츠 정보
- 2,482 조회
- 0 추천
- 목록
본문
데몬 스크립트 파일 : /etc/rc.d/init.d/sendmail
여러분들께서 잘 아시는 sendmail은 메일 릴레이 서버로서 가장 대표적이고 가장 많이 사용되는 MTA(Mail Transport Agent)입니다.
이 스크립트는 sendmail의 실행과 종료, 재시작을 할 때 사용됩니다.
사용옵션 : start|stop|restart|condrestart|status
데몬파일 : /usr/sbin/sendmail
설정파일 : /etc/mail/sendmail.cf 또는 /etc/sendmail.cf
로그파일 : /var/log/maillog
관련디렉토리 : /etc/mail
스크립트 사용예
[root@command init.d]# /etc/rc.d/init.d/sendmail stop Shutting down sendmail: [ OK ] Shutting down sm-client: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/sendmail start Starting sendmail: [ OK ] Starting sm-client: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/sendmail restart Shutting down sendmail: [ OK ] Shutting down sm-client: [ OK ] Starting sendmail: [ OK ] Starting sm-client: [ OK ] [root@command init.d]# [root@command init.d]# /etc/rc.d/init.d/sendmail status sendmail (pid 5120 5111) is running... [root@command init.d]# [root@command init.d]# ps -ef | grep sendmail root 5111 1 0 18:42 ? 00:00:00 [sendmail] smmsp 5120 1 0 18:42 ? 00:00:00 [sendmail] root 5136 2340 0 18:42 pts/0 00:00:00 grep sendmail [root@command init.d]# |
관련자료
-
이전
-
다음