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