#92 onsvc: service restart is condrestart

v1.2.2
open
nobody
Sysadmin (14)
1
2008-04-20
2005-05-26
Anonymous
No

Hi,

It seems the SSI `service restart` is actually doing a
condrestart.
Is this behavior intentional?

For example:
$ service abc start
$ service abc stop
$ service abc restart
$ service abc status

The abc service did not get started by the restart
command. This
behavior would be unexpected for someone coming from a
non-SSI
environment and affects any scripts that expect
`service restart` to
stop/start a service unconditionally. I suppose one
expects `service
abc restart` to literally exec /etc/init.d/abc restart.

-Roger

ps. Using OpenSSI-1.2.2 Fedora Core.

Discussion

  • Roger Tsang

    Roger Tsang - 2005-09-29
    • priority: 5 --> 3
     
  • Roger Tsang

    Roger Tsang - 2008-04-20
    • milestone: --> v1.2.2
    • priority: 3 --> 1
     

Log in to post a comment.