diff options
author | pappy | 2017-12-28 15:11:40 +0200 |
---|---|---|
committer | pappy | 2017-12-28 15:15:03 +0200 |
commit | 8f0b4364b843e26293c0d77dde120427b1bbf68e (patch) | |
tree | 9835f39827fab7a4f8e2666e5277332b2d63cb2f /nexus-oss.install | |
parent | 565225a477f865bfc9296cf2b7c004c640b101a1 (diff) | |
download | aur-8f0b4364b843e26293c0d77dde120427b1bbf68e.tar.gz |
See commit description below
- added license info
- added Java information
- added Nexus configuration
- don't remove home after package removal
Diffstat (limited to 'nexus-oss.install')
-rw-r--r-- | nexus-oss.install | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/nexus-oss.install b/nexus-oss.install index d1ca2b75cb82..8289e689b313 100644 --- a/nexus-oss.install +++ b/nexus-oss.install @@ -4,6 +4,23 @@ post_install() chown -R nexus:nexus var/lib/nexus-oss chmod -R o-rwx var/lib/nexus-oss 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() @@ -11,9 +28,13 @@ post_upgrade() systemctl daemon-reload } -post_remove() +pre_remove() { systemctl stop nexus-oss - userdel -r nexus >/dev/null 2>&1 +} + +post_remove() +{ + systemctl daemon-reload } |