File: dhis.db.sample

package info (click to toggle)
dhis-server 5.3-2.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 428 kB
  • ctags: 568
  • sloc: ansic: 1,935; makefile: 73; sh: 67
file content (51 lines) | stat: -rw-r--r-- 1,244 bytes parent folder | download | duplicates (4)
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
;
; DHIS R5 Server Clients Database
;
; A sample DHIS database file for a DHIS server
; 
; 
; Record 1000 has password authentication (possibly R3 or R4)
; and subscribes to service default
;
1000 {
	HostPass	secret0
	Service		default
}

; Record 1001 has password authentication and subscribes to 
; service dns
;
1001 {
	HostPass	secret1
	Service		dns
}

; Record 1002 has password authentication and subscribes to
; services dns and default
;
1002 {
	HostPass	secret2
	Service		dns
	Service		default
}

; Record 1003 has QRC authentication (R4 or R5) and subscribes to
; service default
;
1003 {
        AuthN           13497898849868626180517976399531009237740469647749
        AuthN           41645948317777733432972176109042647087704948785549
        AuthN           58474928768099947065907839246737275047327707787846
        AuthN           80670622203628424308100996612730498037034893335481
	Service		default
}

; Record 1004 has password authentication and subscribes to service
; default plus /etc/dhis/db/1003/on.sh is executed at online time
; and /etc/dhis/db/1003/off.sh is executed at offline time
;
1004 {
	HostPass	secret4
	OnCmd		/etc/dhis/db/1004/on.sh <param3> <param4>
	OffCmd		/etc/dhis/db/1004/off.sh <param3> <param4>
}