File: 01_debianconfig.patch

package info (click to toggle)
simba 0.8.4-6
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 576 kB
  • sloc: perl: 2,645; sh: 163; makefile: 51
file content (20 lines) | stat: -rw-r--r-- 562 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: This patch modifies simba.cfg to work with dbconfig-common
Author: Radu Spineanu <radu@timisoara.roedu.net>

--- a/simba.cfg
+++ b/simba.cfg
@@ -26,12 +26,8 @@
       log4perl.appender.Log.layout=Log::Log4perl::Layout::PatternLayout
       log4perl.appender.Log.layout.ConversionPattern=%d %p (%P) > %m%n
   ),
-
-  db => {
-    dsn  => 'dbi:mysql:database=mirrors_db;host=localhost;port=3306',
-    user => 'mirrors',
-    pass => 'mirrors',
-  },
+ 
+  db => do '/etc/simba/simba-db.cfg',
 
   general => {
     lockfile          => 'inProgress',