From 6b5e94313caecd2e612d5337a7d455a89e6bfd14 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Thu, 12 Feb 1998 18:22:25 +0000 Subject: Languages. A few more notes on how to do things. --- sysvinitfiles | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'sysvinitfiles') diff --git a/sysvinitfiles b/sysvinitfiles index bbfbe435..e386a386 100644 --- a/sysvinitfiles +++ b/sysvinitfiles @@ -1,5 +1,5 @@ -Writing a System V init script for Red Hat Linux -================================================ +Writing System V init scripts for Red Hat Linux +=============================================== All System V init scripts are named /etc/rc.d/init.d/ where is the name of the service. There must be no @@ -64,6 +64,13 @@ case "$1" in esac +Notes: the restart and reload functions may be (and commonly are) +combined into one test, vis: + restart|reload) +You are not prohibited from adding other commands; list all commands +which you intend to be used interactively to the usage message. + + Functions in /etc/rc.d/init.d/functions ======================================= @@ -112,6 +119,12 @@ Tags characters. The initial comment and following whitespace on the following lines is ignored. +# description[ln]: + + Optional. Should be the description translated into the + specified language. + # autoreload: true Optional. If this line exists, the daemon checks its -- cgit v1.2.1