I need to write a couple of Linux (Debian) startup scripts.
Are there any accurate templates available?
Just have a look at the scripts present in /etc/init.d/. Especially note the README file there. It also hints to this Debian Policy Manual section on init scripts.
/etc/init.d/
README
Actually, what you're looking for might be /etc/init.d/skeleton:
/etc/init.d/skeleton
# Short-Description: Example initscript # Description: This file should be used to construct scripts to be # placed in /etc/init.d.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
9 months ago
viewed
115 times
active
Get the weekly newsletter!
see an example newsletter
By subscribing, you agree to the privacy policy and terms of service.