Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303635 - Initscripts Documentation does not mention local.start and local.stop as options
Summary: Initscripts Documentation does not mention local.start and local.stop as options
Status: RESOLVED LATER
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 21:07 UTC by slaughters
Modified: 2010-02-16 02:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slaughters 2010-02-05 21:07:46 UTC
section 4 of the Gentoo handbook contains a section on writing init scripts which I have included below. There is no mention of the intermediate option of using local.start and local.stop as alternatives. 

I suggest the following paragraph be added after the first paragraph included below (or something similar):

[begin new verbiage]
In addition, if there is simply something to run a startup and/or shutdown, the item can be added to /etc/conf.d/local.start and/or /etc/conf.d/local.stop files. These configuration files contain instructions for their use. 
[end new verbiage]

4.d. Writing Init Scripts

Do I Have To?

No, writing an init script is usually not necessary as Gentoo provides ready-to-use init scripts for all provided services. However, you might have installed a service without using Portage, in which case you will most likely have to create an init script. 

[insert verbiage here]

Reproducible: Always

Steps to Reproduce:
1. Search for local.start and find example in a network howto but not in the handbook under initscripts.

Actual Results:  
wasted time creating an initscript to start /sbin/gradm -E

Expected Results:  
posted a message to the forums and a kind person pointed me to the local.start
Comment 1 SpanKY gentoo-dev 2010-02-16 02:50:50 UTC
local.{start,stop} are part of openrc