서버관련/Install
apache - chkconfig 등록방법 (아파치 서비스 등록)
eNFO
2014. 8. 21. 11:48
SMALL
apache - chkconfig 등록방법 (아파치 서비스 등록)
centos 에서 자동실행 and 서비스 등록
끝!
cp /경로/apache/bin/apachectl /etc/init.d/httpdvi /etc/init.d/httpd
#!/bin/sh
#
# chkconfig: 2345 90 90
# description: init file for Apache server daemon
# processname:/경로/apache/bin/apachectl
# config: /경로/apache/conf/httpd.conf
# pidfile /경로/apache/logs/httpd/pid내용추가
# chkconfig --add httpd
LIST