On *nix-based BSD operating systems, the best practice is to install, configure and run each service (including JIRA) as a dedicated user with only the permissions they require.
To run JIRA automatically on FreeBSD:
- As root, create the file
/usr/local/etc/rc.d/jira.sh(code shown below), which will be responsible for starting up JIRA after a reboot (or when manually invoked). If you are not using postgresql for your database, change the REQUIRE line to whatever is in the PROVIDE line in your database init script.
- Make the init script executable:
- Make the init script readonly:
- Add the following line to
More information can be found in this article.