Skip to content

Commit

Permalink
Update startup-unix-service.adoc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
beango1 authored and olamy committed Jul 16, 2020
1 parent bbb0f66 commit ce62664
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
....

Expand Down

0 comments on commit ce62664

Please sign in to comment.