Can a Perl script be started at system boot (via the typical /sbin/rc3.d soft link, etc.)? This is Compaq UNIX....
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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:
- 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 Linux servers
Related Q&A from Kenneth Milberg
Learn which makes more sense for your enterprise: building your own cloud-based diagnostic tooling or purchasing an existing product. Expert Ken ...continue reading
Learn about Helm Charts and how Kubernetes supports a microservices architecture. Expert Ken Milberg discusses what you need to know before delving ...continue reading
Learn about what blockchain is, and then begin to understand how best to choose a tool that can automate blockchain services. Expert Ken Milberg ...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.