AEM centos 7 init script system.d
Is there any reference to AEM centos 7 init script based system.d rather init.d
Similar to the one https://helpx.adobe.com/experience-manager/kb/linux-init-script.html
Can this be updated for system.d ?
Is there any reference to AEM centos 7 init script based system.d rather init.d
Similar to the one https://helpx.adobe.com/experience-manager/kb/linux-init-script.html
Can this be updated for system.d ?
Hi
I am not working in Centos, but i have found an article which might help you.
Run a script at Boot time in Centos7
Link:- https://gopukrish.wordpress.com/2015/04/03/run-a-script-at-boot-time-in-centos-7/
By default /etc/rc.local and /etc/rc.d/rc.local are no longer executable in CentOS7 with the new systemd-changes. Follow the below steps to make the script /root/g.sh run at boot time:
1. chmod +x /etc/rc.d/rc.local2. chmod +x /root/g.sh 2. Mention your script at the bottom of the file /etc/rc.local (/etc/rc.local is a symlink to /etc/rc.d/rc.local)as below : sh /root/g.sh
And in shell file you can start AEM instance.
Some more reference articles :- http://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.