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:
parent
bbb0f6617c
commit
ce62664fb4
|
@ -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
|
||||
....
|
||||
|
||||
|
|
Loading…
Reference in New Issue