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.
Actually, what you're looking for might be /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
3 years ago