소스 검색

Updated dist files to conform to install directories

Thomas Davis 12 년 전
부모
커밋
de0d550486
3개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 1
      Makefile
  2. 4 4
      distribution/arch/civetweb.conf
  3. 1 1
      distribution/arch/civetweb.service

+ 1 - 1
Makefile

@@ -159,7 +159,7 @@ clean:
 distclean: clean
 	@rm -rf VS2012/Debug VS2012/*/Debug  VS2012/*/*/Debug
 	@rm -rf VS2012/Release VS2012/*/Release  VS2012/*/*/Release
-	rm -f $(CPROG) lib$(CPROG).so lib$(CPROG).a *.dmg 
+	rm -f $(CPROG) lib$(CPROG).so lib$(CPROG).a *.dmg *.msi
 
 lib$(CPROG).a: $(LIB_OBJECTS)
 	@rm -f $@ 

+ 4 - 4
distribution/arch/civetweb.conf

@@ -1,5 +1,5 @@
-document_root /srv/http
-listening_ports 80
+document_root /usr/local/share/doc/civetweb
+listening_ports 8080
 
 access_log_file /var/log/civetweb-access.log
 error_log_file  /var/log/civetweb-error.log
@@ -9,5 +9,5 @@ authentication_domain localhost
 
 index_files index.html,index.htm,index.php
 
-cgi_interpreter /usr/bin/php-cgi
-#cgi_extensions  php
+# cgi_interpreter /usr/bin/php-cgi
+# cgi_extensions  php

+ 1 - 1
distribution/arch/civetweb.service

@@ -3,7 +3,7 @@ Description=Civetweb httpd
 After=syslog.target network.target remote-fs.target nss-lookup.target
 
 [Service]
-ExecStart=/usr/bin/civetweb /etc/civetweb/civetweb.conf
+ExecStart=/usr/local/bin/civetweb /usr/local/etc/civetweb/civetweb.conf
 
 [Install]
 WantedBy=multi-user.target