]> Pileus Git - ~andy/sunrise/blob - net-irc/iroffer-dinoex/files/iroffer-dinoex-config.patch
0c630d060a1e06c9eb56831a5f4841bfd70422cf
[~andy/sunrise] / net-irc / iroffer-dinoex / files / iroffer-dinoex-config.patch
1 diff -ru iroffer-dinoex-3.27/beispiel.config iroffer-dinoex-3.27.NEW/beispiel.config
2 --- iroffer-dinoex-3.27/beispiel.config 2011-07-17 21:10:21.000000000 +0200
3 +++ iroffer-dinoex-3.27.NEW/beispiel.config     2012-05-01 19:30:10.378116001 +0200
4 @@ -15,19 +15,19 @@
5  ##############################################################################
6  ###                             - pid file -                               ###
7  ### Schreibt die Prozess-ID beim Start in diese Datei                      ###
8 -pidfile mybot.pid
9 +pidfile /var/run/iroffer-dinoex/mybot.pid
10  
11  ##############################################################################
12  ###                             - log file -                               ###
13  ### logfile gibt die Logdatei für den Bot an.                              ###
14 -logfile mybot.log
15 +logfile /var/log/iroffer-dinoex/mybot.log
16  
17  ##############################################################################
18  ###                            - log rotate -                              ###
19  ### logrotate gibt den Zeitraum vor, nach dem die Logdatei gewechselt      ###
20  ### wird, mögliche Werte "none" (nie), "monthly" (monatlich),              ###
21  ### "weekly" (wöchentlich), "daily" (täglich) und 1-24 (stündlich).        ###
22 -logrotate weekly
23 +#logrotate weekly
24  
25  ##############################################################################
26  ###                         - expire logfiles -                            ###
27 @@ -48,7 +48,7 @@
28  ### Diese Datei dient als allgemeines Datenlager für die bereitgestellten  ###
29  ### Dateien und die dazugehörigen statistische Daten. Hier werden auch die ###
30  ### Beschreibungen der Pakete gespeichert.                                 ###
31 -statefile mybot.state
32 +statefile /var/lib/iroffer-dinoex/mybot.state
33  
34  ##############################################################################
35  ###                          - old state file -                            ###
36 @@ -74,7 +74,7 @@
37  ### als Packliste auf einer Webseite zu dienen, oder für andere Zwecke.    ###
38  ### Wenn xdcclistfileraw gesetzt ist, werden die IRC-Farbcode auch mit     ###
39  ### ausgegeben.                                                            ###
40 -xdcclistfile mybot.txt
41 +xdcclistfile /var/lib/iroffer-dinoex/mybot.txt
42  #xdcclistfileraw
43  
44  ##############################################################################
45 diff -ru iroffer-dinoex-3.27/exemple.config iroffer-dinoex-3.27.NEW/exemple.config
46 --- iroffer-dinoex-3.27/exemple.config  2011-09-04 08:45:41.000000000 +0200
47 +++ iroffer-dinoex-3.27.NEW/exemple.config      2012-05-01 19:29:03.954116001 +0200
48 @@ -15,18 +15,18 @@
49  ##############################################################################
50  ###                             - pid file -                               ###
51  ### Ecrit l'id du processus dans ce fichier au lancement                   ###
52 -pidfile monbot.pid
53 +pidfile /var/run/iroffer-dinoex/monbot.pid
54  
55  ##############################################################################
56  ###                             - log file -                               ###
57  ### Écrit les informations du bot dans ce fichier.                         ###
58 -logfile monbot.log
59 +logfile /var/log/iroffer-dinoex/monbot.log
60  
61  ##############################################################################
62  ###                            - log rotate -                              ###
63  ### Archivage du fichier de log jamais (none), 1-24 h quotidien (daily),   ###
64  ### hebdomadaire (weekly) ou mensuelle (monthly).                          ###
65 -logrotate weekly
66 +#logrotate weekly
67  
68  ##############################################################################
69  ###                         - expire logfiles -                            ###
70 @@ -44,7 +44,7 @@
71  ##############################################################################
72  ###                             - state file -                             ###
73  ### fichier temporaire de stockage des informations d'état d'iroffer.      ###
74 -statefile monbot.state
75 +statefile /var/lib/iroffer-dinoex/monbot.state
76  
77  ##############################################################################
78  ###                          - old state file -                            ###
79 @@ -70,7 +70,7 @@
80  ### 'xdcclistfile' et iroffer écrira la liste xdcc dès que nécessaire.     ###
81  ### Si xdcclistfileraw est définit, le fichier sera écrit avec les         ###
82  ### caractères spéciaux IRC (couleur, format, etc...).                     ###
83 -xdcclistfile monbot.txt
84 +xdcclistfile /var/lib/iroffer-dinoex/monbot.txt
85  #xdcclistfileraw
86  
87  ##############################################################################
88 diff -ru iroffer-dinoex-3.27/sample.config iroffer-dinoex-3.27.NEW/sample.config
89 --- iroffer-dinoex-3.27/sample.config   2011-07-17 21:10:21.000000000 +0200
90 +++ iroffer-dinoex-3.27.NEW/sample.config       2012-05-01 19:31:11.682116001 +0200
91 @@ -15,18 +15,18 @@
92  ##############################################################################
93  ###                             - pid file -                               ###
94  ### Writes the process id to this file on startup                          ###
95 -pidfile mybot.pid
96 +pidfile /var/run/iroffer-dinoex/mybot.pid
97  
98  ##############################################################################
99  ###                             - log file -                               ###
100  ### Writes logging information to this file.                               ###
101 -logfile mybot.log
102 +logfile /var/log/iroffer-dinoex/mybot.log
103  
104  ##############################################################################
105  ###                            - log rotate -                              ###
106  ### After the time given here a logfile will be rotated.                   ###
107  ### logrotate can be set to none, 1 - 24 hours, daily, weekly or monthly   ###
108 -logrotate weekly
109 +#logrotate weekly
110  
111  ##############################################################################
112  ###                         - expire logfiles -                            ###
113 @@ -44,7 +44,7 @@
114  ##############################################################################
115  ###                             - state file -                             ###
116  ### temporary storage for iroffer state information across restarts        ###
117 -statefile mybot.state
118 +statefile /var/lib/iroffer-dinoex/mybot.state
119  
120  ##############################################################################
121  ###                          - old state file -                            ###
122 @@ -71,7 +71,7 @@
123  ### needed.                                                                ###
124  ### If xdcclistfileraw is set the file will be written with the IRC        ###
125  ### control characters included (color, formatting, etc..).                ###
126 -xdcclistfile mybot.txt
127 +xdcclistfile /var/lib/iroffer-dinoex/mybot.txt
128  #xdcclistfileraw
129  
130  ##############################################################################