aur/nexus-oss/nexus-oss.install
2020-09-06 14:16:54 +02:00

46 lines
748 B
Plaintext

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
}