Step 1: Overview on systemd. Step 2: Create user and Group. Step 3: Create Sample Script. Step 4: Create unit file to run systemd service as specific user and group. Step 5: Verify the systemd unit file configuration. By default most of the systemd services are configured to run by root user but there is also an option to create a custom systemd service unit file and run it as a speciic user or group or both.
2. Compile & Run Java Program With External Jar. Now let's download a third-party library and use some method from the library. In this case, I downloaded apache.commons.lang from here, and use the StringUtils.capitalize() method. The jar file is downloaded to "jars" directory which is located the same with helloworld.java.