Autostart PoolParty on Linux
Autostart PoolParty on Linux
This section contains a short guide on how to configure autostarting PoolParty on the supported Linux operating systems.
By default PoolParty will be installed in a root context, so root privileges apply also when it is running, which is recommended best practice for PoolParty.
You would configure autostart therefore with root privileges, as follows.
Add the following line of code to the respective place in the rc.local
file:
su -l poolparty -c "/opt/poolparty/bin/poolparty start"
Debian GNU/Linux and Others
On Debian-based distributions of GNU/Linux installed (such as Ubuntu) you can start PoolParty and its built-in Solr instance automatically when the operating system is finished booting up.
Add the line directly above the last line of the file named /etc/rc.local.
Red Hat Enterprise Linux and Others
On Red Hat Enterprise Linux (or similar operation systems, such as CentOS, Scientific Linux or Oracle Unbreakable Linux), add the line to the very end of the file named /etc/rc.d/rc.local.