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/ /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

More Information: