Can a Perl script be started at system boot (via the typical /sbin/rc3.d soft link, etc.)? This is Compaq UNIX. Or, does this require a log-in and env set-up to use the Perl bin? What about when dealing with a custom vendor shell script that starts a GUI app? I want it to auto-start at system re-boot. Normally, one would:
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
- log-in a UNIX account
- cd to dir containing script to launch app
- run script to start app
You can certainly start this from inittab. Here is the format you should follow:
Put in respawn if you want to make sure it comes back to life if it dies.
Dig Deeper on Open source databases
Related Q&A from Kenneth Milberg
Unix-to-Linux migration expert Ken Milberg describes how virtualization, support, clustering and more fit into the migration of an IT infrastructure ...continue reading
A reader new to Linux wonders about which distribution is recommended for installing Nagios and what Nahant and Tikanga mean.continue reading
Documentation for Red Hat Enterprise Linux 5 covering checking system performance, tuning, kernel configuration and extending the file system exists ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.