summaryrefslogtreecommitdiff
path: root/dns/dhisd/files/patch-INSTALL
blob: e4ad1c84c15b49081d35070ed7974d85220a7778 (plain) (blame)
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
--- INSTALL.orig	Sun Nov  4 21:47:45 2001
+++ INSTALL	Sun Nov  4 22:09:55 2001
@@ -50,28 +50,25 @@
 2. Install stage
 ----------------
 
-	In this installation we will use /etc/dhis as the default
-	base directory for the server. Another directory may be
-	used in which case file location command line options must
-	be given to dhisd when executing.
+	In this installation we will use __PREFIX__/etc/dhis 
+	as the default base directory for the server. Another 
+	directory may be used in which case file location command 
+	line options must be given to dhisd when executing.
 
 	Create the directories:
 
-	/etc/dhis
-	/etc/dhis/bin
-	/etc/dhis/pid
-	/etc/dhis/db
-	/etc/dhis/log
+	__PREFIX__/etc/dhis
 	
-	You may wish to create /etc/dhis/src and put dhisd-5.1 under
-	this directory.
+	You may wish to create __PREFIX__/etc/dhis/src and put
+	dhisd-5.1 under	this directory.
 
-	Copy dhisd to /etc/dhis/bin . This is the server binary.
+	Copy dhisd to __PREFIX__/bin.
+	This is the server binary.
 
 	Create the database file which will hold information for
 	current dynamic hosts:
 
-	Change directory to /etc/dhis/db
+	Change directory to __PREFIX__/etc/dhis
 	
 	Create a text file named dhis.db with a text editor.
 
@@ -162,19 +159,19 @@
 	Change the permissions as you wish. In particular dhis.db
 	should not be readable by anyone. Suggested example:
 
-	chmod 700 /etc/dhis /etc/dhis/*
-	chmod 600 /etc/dhis/db/dhis.db
+	chmod 700 __PREFIX__/etc/dhis __PREFIX__/etc/dhis/*
+	chmod 600 __PREFIX__/etc/dhis/dhis.db
 
 	Add dhisd to your system's startup script 
 	(rc.local for BSD systems, SXXdhis under /etc/rc2.d
 	for System V). A simple line such as 
 
-		/etc/dhis/bin/dhisd
+		/usr/local/bin/dhisd
 
 	will do. 
 
 
-	Now create /etc/dhis/db/services.db 
+	Now create __PREFIX__/etc/dhis/services.db 
 	
 	Insert one line per module implemented. See MODULES
 	for a detailed description of the modular architecture 
@@ -187,7 +184,7 @@
 	and MODULES for information on the new modular structure 
 	of the server.
 
-	You may also run /etc/dhis/bin/dhisd now if you wish to 
+	You may also run __PREFIX__/bin/dhisd now if you wish to 
 	run DHIS at once.