Posted By : Date : fanuzzi | 02-13-2021
If you are reading this post then, probably, you need to execute your java app as a Linux service. This can be done in 4 really easy steps Create the servicecreate a bash scriptgive execution permission to the bash fileenable and start your brand new service Step 1: create the system service sudo nano /etc/systemd/system/MyFantasticJavaApp.service it will open the nano editor. Add the following, changing the working directory and the User values based on your convenience [Unit] Description=good old Java application [Service] User=root # The configuration file should be…
Read More