What is the equivalent of /etc/initscript in RHEL6(upstart)
Issue
- In RHEL6.4, need to know the equivalent for
/etc/initscript
. Normally, this script is used by init to execute the commands frominittab
. Since RHEL6.4 supports only upstart and notinittab
, which is the best alternative and one that works for upstart configuration/jobs and for all processes. - What is the equivalent of
/etc/initscript
in RHEL6 - Replicate a sample
/etc/initscript
file for inittab scripts from SysVInit to Upstart
export TEST_ENV_VAR=/flx/rcc/bin
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.