Problem solve Get help with specific problems with your technologies, process and projects.

Can a Perl script be started at system boot?

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:

  1. boot
  2. log-in a UNIX account
  3. cd to dir containing script to launch app
  4. 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.

    Good luck!

Dig Deeper on Linux servers

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.