Bug 247068 - Initscript Review
Summary: Initscript Review
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sysklogd
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: InitscriptStatus
TreeView+ depends on / blocked
 
Reported: 2007-07-05 13:59 UTC by Harald Hoyer
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-30 12:39:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
last version of init script (2.76 KB, text/plain)
2007-07-30 12:36 UTC, Peter Vrabec
no flags Details

Description Harald Hoyer 2007-07-05 13:59:51 UTC
Please have a look at the wikipage 
http://fedoraproject.org/wiki/FCNewInit/Initscripts
and change your initscripts to comply with the LSB standard.
Especially check the exit status and add a LSB Header.
E.g. starting a service should return with 0, if the service is already running and stopping a stopped service should also return with 0.

Also check, if your service has to be _on_ per default, and turn it off in the old chkconfig line, if not.

Thank you.

Comment 1 Peter Vrabec 2007-07-30 12:36:29 UTC
Created attachment 160239 [details]
last version of init script

I hope this init script is OK. If not, feel free to reopen this bug report.


Note You need to log in before you can comment on or make changes to this bug.