Difference between revisions of "Initscripts/Writing rc.d scripts"

From ArchWiki
Jump to: navigation, search
(gr; formality; bogus filenames)
m (implied)
Line 9: Line 9:
 
{{Article summary end}}
 
{{Article summary end}}
  
As part of Arch's 'BSD-style' init, rc.d scripts are used to control the starting, stopping and restarting of [[Daemon|daemons]]. This guide will help in writing these scripts.
+
As part of Arch's 'BSD-style' init, rc.d scripts are used to control the starting, stopping and restarting of [[Daemon|daemons]].
  
 
==Guideline==
 
==Guideline==

Revision as of 03:44, 14 January 2011

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end

As part of Arch's 'BSD-style' init, rc.d scripts are used to control the starting, stopping and restarting of daemons.

Guideline

Example

The following is an example for crond. Look in Template:Filename for greater variety.

The configuration file: Template:File

The actual script: Template:File