aboutsummaryrefslogtreecommitdiffstats
path: root/sysvinitfiles
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1998-02-12 18:22:25 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1998-02-12 18:22:25 +0000
commit6b5e94313caecd2e612d5337a7d455a89e6bfd14 (patch)
tree3e42da7b280e3441a28fc61eb81ee01a76793e26 /sysvinitfiles
parent33a2c0c0830fd7c90a44210cfe5859211f072fc0 (diff)
downloadinitscripts-6b5e94313caecd2e612d5337a7d455a89e6bfd14.tar
initscripts-6b5e94313caecd2e612d5337a7d455a89e6bfd14.tar.gz
initscripts-6b5e94313caecd2e612d5337a7d455a89e6bfd14.tar.bz2
initscripts-6b5e94313caecd2e612d5337a7d455a89e6bfd14.tar.xz
initscripts-6b5e94313caecd2e612d5337a7d455a89e6bfd14.zip
Languages.
A few more notes on how to do things.
Diffstat (limited to 'sysvinitfiles')
-rw-r--r--sysvinitfiles17
1 files changed, 15 insertions, 2 deletions
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/<servicename>
where <servicename> 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]: <multi-line description of service in the language \
+# ln, whatever that is>
+
+ Optional. Should be the description translated into the
+ specified language.
+
# autoreload: true
Optional. If this line exists, the daemon checks its