force-reload/restart
Thorsten Kukuk <[email protected]>
| Newsgroups | gmane.linux.lsb.discuss |
|---|---|
| Organization | SuSE Linux AG, Nuernberg, Germany |
| Message-ID | <[email protected]> |
Hi, currently we define "force-reload" as "cause the configuration to be reloaded if the service supports this, otherwise restart the service". And we define "restart" as "stop and restart the service if the service is already running, otherwise start the service". The result is: If a service supports SIGHUP and is not running, a "force-reload" will give you an error. If a service does not support SIGHUP, a "force-reload" will start the service, if it is not running before. So I suggest do change "force-reload" to: "cause the configuration to be reloaded if the service supports this, otherwise restart the service if it is running". Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ [email protected] SuSE Linux AG Deutschherrnstr. 15-19 D-90429 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B