1. Copy the script to a new file /etc/init.d/aem6 on your server. 2. Edit the file and make the following changes: Set AEM_ROOT variable to the directory path which contains the AEM jar file. Set AEM_USER variable to the name of the system user that will start and stop AEM.

Apr 04, 2009 init.d for Non-root Processes – SysteMajik Consulting I have applied a simple modification to the init.d scripts that starts them as a non-root user. It also allows the scripts to be run by members of an administration group via sudo. This approach is applicable to other applications. This script does not assume root can run any command as root. Run a Command on a New EC2 Windows Instance at Launch Oct 18, 2019

1. Copy the script to a new file /etc/init.d/aem6 on your server. 2. Edit the file and make the following changes: Set AEM_ROOT variable to the directory path which contains the AEM jar file. Set AEM_USER variable to the name of the system user that will start and stop AEM.

LSBInitScripts - Debian Wiki

fedora - How can I make a script in /etc/init.d start at

I have applied a simple modification to the init.d scripts that starts them as a non-root user. It also allows the scripts to be run by members of an administration group via sudo. This approach is applicable to other applications. This script does not assume root can run any command as root. Run a Command on a New EC2 Windows Instance at Launch