nexus-oss java11
This commit is contained in:
parent
5bb948e82d
commit
1a488e0e73
11 changed files with 200 additions and 0 deletions
45
nexus-oss/nexus-oss.install
Normal file
45
nexus-oss/nexus-oss.install
Normal file
|
@ -0,0 +1,45 @@
|
|||
post_install()
|
||||
{
|
||||
systemd-sysusers nexus-oss.conf
|
||||
systemd-tmpfiles --create nexus-oss.conf
|
||||
|
||||
cat <<EOF
|
||||
|
||||
The default URL for this installation is
|
||||
|
||||
http://127.0.0.1:8081/
|
||||
|
||||
To change these settings edit the file
|
||||
|
||||
/var/lib/nexus-oss/etc/nexus.properties
|
||||
|
||||
Sonatype strongly suggests using the latest Java 8 release version of Java
|
||||
available from Oracle. Support for Java 9 has not been verified - DO NOT USE IT.
|
||||
|
||||
See https://help.sonatype.com/display/NXRM3/System+Requirements#SystemRequirements-Java
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
post_upgrade()
|
||||
{
|
||||
systemctl daemon-reload
|
||||
|
||||
cat <<EOF
|
||||
|
||||
See Release Notes at
|
||||
https://help.sonatype.com/display/NXRM3/2018+Release+Notes
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
pre_remove()
|
||||
{
|
||||
systemctl disable --now nexus-oss
|
||||
}
|
||||
|
||||
post_remove()
|
||||
{
|
||||
systemctl daemon-reload
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue