Startup Linux / Unix Service


Service Setup

The instructions below assumes Bastillion is installed in the /opt/Bastillion-jetty directory as described in the quick start. The JETTY_HOME will need to be adjusted, if Bastillion is installed elsewhere.

cp /opt/Bastillion-jetty/jetty/bin/jetty.sh /etc/init.d/bastillion
echo JETTY_HOME=/opt/Bastillion-jetty/jetty > /etc/default/bastillion
service bastillion start

Setting Run-Level

Setting the run-level may vary based on distribution, please refer to your distro's documentation. The run-level may be manually set as follows:

ln -s /etc/init.d/bastillion /etc/rc3.d/S99bastillion
ln -s /etc/init.d/bastillion /etc/rc5.d/S99bastillion
ln -s /etc/init.d/bastillion /etc/rc3.d/K01bastillion
ln -s /etc/init.d/bastillion /etc/rc5.d/K01bastillion

Startup Windows Service

https://www.eclipse.org/jetty/documentation/9.4.x/startup-windows-service.html

More Information:

https://www.eclipse.org/jetty/documentation/9.4.x/startup-unix-service.html