Update startup-unix-service.adoc

JETTY_USER variable need to be set for the init script to run as 'jetty' instead of root
Signed-off-by: Binh Trinh <beango@gmail.com>
This commit is contained in:
beango1 2020-06-04 22:26:56 -04:00 committed by Olivier Lamy
parent bbb0f6617c
commit ce62664fb4
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ Next we need to make the Unix System aware that we have a new Jetty Service that
# cp /opt/jetty/jetty-distribution-{VERSION}/bin/jetty.sh /etc/init.d/jetty
# echo "JETTY_HOME=/opt/jetty/jetty-distribution-{VERSION}" > /etc/default/jetty
# echo "JETTY_BASE=/opt/web/mybase" >> /etc/default/jetty
# echo "JETTY_USER=jetty" >> /etc/default/jetty
# echo "TMPDIR=/opt/jetty/temp" >> /etc/default/jetty
....