mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
a90b7c6d43
Add a user and group to run the server Full release note : https://docs.payara.fish/release-notes/release-notes-173.html PR: 224405 Submitted by: Dmytro Bilokha <dmytro@posteo.net> (maintainer)
15 lines
678 B
Plaintext
15 lines
678 B
Plaintext
To run the Payara Java Application Server from startup, add
|
|
payara_enable="YES" in your /etc/rc.conf.
|
|
Extra options can be found in the startup script.
|
|
|
|
By default Payara server is started by 'payara' user account. On service
|
|
start/stop caches and preferences are written to the payara user home
|
|
directory. To make it possible and avoid related warnings set 'payara' user
|
|
home directory to some writable place in the file system. To use the
|
|
default location, issue the command:
|
|
/usr/sbin/pw usermod payara -d %%VARDIR%%/prefs
|
|
|
|
Because default payara user is low-privileged, to allow Payara to listen
|
|
ports under 1024 you will need to tweak Mandatory Access Control policies.
|
|
|