aboutsummaryrefslogtreecommitdiffstats
path: root/sysvinitfiles
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1998-02-09 21:32:45 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1998-02-09 21:32:45 +0000
commit1c67204fc51b1e1faca7c806d6eee71c8c4306dd (patch)
treea3750d97b8f7f85ec21596e6fe262fe5bac230f5 /sysvinitfiles
parent2e825b771eb47f5c036c5ded5d3acef6cfb3c419 (diff)
downloadinitscripts-1c67204fc51b1e1faca7c806d6eee71c8c4306dd.tar
initscripts-1c67204fc51b1e1faca7c806d6eee71c8c4306dd.tar.gz
initscripts-1c67204fc51b1e1faca7c806d6eee71c8c4306dd.tar.bz2
initscripts-1c67204fc51b1e1faca7c806d6eee71c8c4306dd.tar.xz
initscripts-1c67204fc51b1e1faca7c806d6eee71c8c4306dd.zip
Complete list of tags to use in sysv init files
Diffstat (limited to 'sysvinitfiles')
-rw-r--r--sysvinitfiles49
1 files changed, 49 insertions, 0 deletions
diff --git a/sysvinitfiles b/sysvinitfiles
new file mode 100644
index 00000000..4856aafa
--- /dev/null
+++ b/sysvinitfiles
@@ -0,0 +1,49 @@
+# chkconfig: <startlevellist> <startpriority> <endpriority>
+
+ Required. <startlevellist> is a list of levels in which
+ the service should be started by default. <startpriority>
+ and <endpriority> are priority numbers. For example:
+ # chkconfig: 2345 20 80
+
+# description: <multi-line description of service>
+
+ Required. Several lines of description, continued with '\'
+ characters. The initial comment and following whitespace
+ on the following lines is ignored.
+
+# autoreload: true
+
+ Optional. If this line exists, the daemon checks its
+ configuration files and reloads them automatically when
+ they change.
+
+# processname:
+
+ Optional, multiple entries allowed. For each process name
+ started by the script, there should be a processname entry.
+ For example, the samba service starts two daemons:
+ # processname: smdb
+ # processname: nmdb
+
+# config:
+
+ Optional, multiple entries allowed. For each static config
+ file used by the daemon, use a single entry. For example:
+ # config: /etc/httpd/conf/httpd.conf
+ # config: /etc/httpd/conf/srm.conf
+
+# pidfile:
+
+ Optional, multiple entries allowed. Use just like the config
+ entry, except that it points at pidfiles. It is assumed that
+ the pidfiles are only updated at process creation time, and
+ not later. The contents are not examined.
+
+# probe: true
+
+ Optional, used IN PLACE of autoreload, processname, config,
+ and pidfile. If it exists, then a proper reload-if-necessary
+ cycle may be acheived by running this command:
+ /etc/rc.d/init.d/SCRIPT `/etc/rd.d/init.d/SCRIPT probe`
+ where SCRIPT is the name of the service's sysv init script.
+