Browse Source

Correction erreur service, s/papillon/fdn/ dans conf apache et modif INSTALL

Julien Vaubourg 12 years ago
parent
commit
60856be4d9
3 changed files with 5 additions and 3 deletions
  1. 2 2
      fdnTopicAddBot/07-fdn
  2. 2 0
      fdnTopicAddBot/INSTALL
  3. 1 1
      fdnTopicAddBot/fdn-accbot

+ 2 - 2
fdnTopicAddBot/07-fdn

@@ -11,6 +11,6 @@
         </Directory>
 
         LogLevel warn
-        ErrorLog ${APACHE_LOG_DIR}/papillon/error-fdn.log
-        CustomLog ${APACHE_LOG_DIR}/papillon/access-fdn.log combined
+        ErrorLog ${APACHE_LOG_DIR}/fdn/error-fdn.log
+        CustomLog ${APACHE_LOG_DIR}/fdn/access-fdn.log combined
 </VirtualHost>

+ 2 - 0
fdnTopicAddBot/INSTALL

@@ -3,6 +3,8 @@ apt-get install libbot-basicbot-perl
 mv fdn-accbot.pl /usr/local/bin/
 mv fdn-accbot /etc/init.d/
 mv 07-fdn /etc/apache2/sites-available
+mkdir -p /var/www/fdn/ /var/log/apache2/fdn/
+touch /var/www/fdn/index.html
 
 chmod +x /usr/local/bin/fdn-accbot.pl /etc/init.d/fdn-accbot
 update-rc.d fdn-accbot defaults

+ 1 - 1
fdnTopicAddBot/fdn-accbot

@@ -1,4 +1,4 @@
-/bin/bash: q: command not found
+#!/bin/bash
 ### BEGIN INIT INFO
 # Provides:          perl
 # Required-Start: