FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 04-18-2008, 05:54 AM
Ville Skyttä
 
Default Packaging/SysVInitScript reload() bug

The init script template in Packaging/SysVInitScript makes the reload action
invoke restart if the service is running. This is a bug wrt. LSB, there the
reload action is specified as:

"cause the configuration of the service to be reloaded without actually
stopping and restarting the service"

I'd suggest changing the default reload() in the template to something like
(this is how it is in the current rpmdevtools init script template):

reload() {
# If config can be reloaded without restarting, implement it here,
# remove the "exit", and add "reload" to the usage message below.
action $"Service $prog does not support the reload action: " /bin/false
exit 3
}

...and removing "reload" from the default usage message.

--
Fedora-packaging mailing list
Fedora-packaging@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-packaging
 

Thread Tools




All times are GMT. The time now is 01:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org