[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to write an init.d script which runs a perl program?



My system is Wheezy and I would like to add a script to init.d run a
simple perl program at startup.  

The scripts in init.d look very different these days, they used to be
numbered so I could make my program run last.  I have tried reading the
debian-policy manual and examining some of the foo.sh scripts in my
init.d file but I am still uncertain how to write the script.

Can someone give me a simple example script?

PS. I have not even tried to understand systemd.  I know it is coming
and what I write now will be obsolete.  That's an issue for another day.

Tom


Reply to: