summarylogtreecommitdiffstats
path: root/01-paths.patch
blob: c410115010d02cec4f37ae867b25d3fae8e0b3ec (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
diff -rNc nexus-2.14.18-01-orig/bin/jsw/conf/wrapper.conf nexus-2.14.18-01/bin/jsw/conf/wrapper.conf
*** nexus-2.14.18-01-orig/bin/jsw/conf/wrapper.conf	Mon May 18 13:59:42 2020
--- nexus-2.14.18-01/bin/jsw/conf/wrapper.conf	Tue Sep 22 08:26:29 2020
***************
*** 26,32 ****
  wrapper.java.library.path.1=bin/jsw/lib
  
  # Additional JVM parameters (tune if needed, but match the sequence of numbers!)
! wrapper.java.additional.1=-Djava.io.tmpdir=./tmp
  wrapper.java.additional.2=-Djava.net.preferIPv4Stack=true
  wrapper.java.additional.3=-Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl"
  wrapper.java.additional.3.stripquotes=TRUE
--- 26,32 ----
  wrapper.java.library.path.1=bin/jsw/lib
  
  # Additional JVM parameters (tune if needed, but match the sequence of numbers!)
! wrapper.java.additional.1=-Djava.io.tmpdir=/var/lib/nexus/tmp
  wrapper.java.additional.2=-Djava.net.preferIPv4Stack=true
  wrapper.java.additional.3=-Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl"
  wrapper.java.additional.3.stripquotes=TRUE
***************
*** 58,64 ****
  wrapper.on_exit.12=RESTART
  
  # Set up JSW logging
! wrapper.logfile=logs/wrapper.log
  wrapper.logfile.format=PM
  wrapper.logfile.loglevel=INFO
  wrapper.logfile.maxsize=10m
--- 58,64 ----
  wrapper.on_exit.12=RESTART
  
  # Set up JSW logging
! wrapper.logfile=/var/log/nexus/wrapper.log
  wrapper.logfile.format=PM
  wrapper.logfile.loglevel=INFO
  wrapper.logfile.maxsize=10m
diff -rNc nexus-2.14.18-01-orig/bin/nexus nexus-2.14.18-01/bin/nexus
*** nexus-2.14.18-01-orig/bin/nexus	Mon May 18 13:59:42 2020
--- nexus-2.14.18-01/bin/nexus	Tue Sep 22 08:26:29 2020
***************
*** 11,17 ****
  # These settings can be modified to fit the needs of your application
  
  # Set this to the root of the Nexus installation
! NEXUS_HOME=".."
  
  # If specified, the Wrapper will be run as the specified user.
  
--- 11,17 ----
  # These settings can be modified to fit the needs of your application
  
  # Set this to the root of the Nexus installation
! NEXUS_HOME="/usr/lib/nexus"
  
  # If specified, the Wrapper will be run as the specified user.
  
***************
*** 31,37 ****
  PRIORITY=
  
  # Location of the pid file.
! #PIDDIR="."
  
  # If uncommented, causes the Wrapper to be shutdown using an anchor file.
  #  When launched with the 'start' command, it will also ignore all INT and
--- 31,37 ----
  PRIORITY=
  
  # Location of the pid file.
! PIDDIR="/run/nexus"
  
  # If uncommented, causes the Wrapper to be shutdown using an anchor file.
  #  When launched with the 'start' command, it will also ignore all INT and
diff -rNc nexus-2.14.18-01-orig/conf/nexus.properties nexus-2.14.18-01/conf/nexus.properties
*** nexus-2.14.18-01-orig/conf/nexus.properties	Mon May 18 13:59:42 2020
--- nexus-2.14.18-01/conf/nexus.properties	Tue Sep 22 08:37:42 2020
***************
*** 22,28 ****
! nexus-webapp-context-path=/nexus
  
  # Nexus section
! nexus-work=${bundleBasedir}/../sonatype-work/nexus
  runtime=${bundleBasedir}/nexus/WEB-INF
  
  # orientdb buffer size in megabytes
--- 22,28 ----
! nexus-webapp-context-path=/
  
  # Nexus section
! nexus-work=/var/lib/nexus
  runtime=${bundleBasedir}/nexus/WEB-INF
  
  # orientdb buffer size in megabytes