#120 new
Iñaki Baz Castillo

Wish: "status" command

Reported by Iñaki Baz Castillo | December 21st, 2009 @ 09:10 AM | in Future

For now, when "start" action is performed and the server was already running, thin returns 1 (as it raises Thin::PidFileExist).

When using "thin ... start" into a service init script it means that such script is not LSB compliant since a LSB compliant init script should return 0 when performing the "start" action even if the server was already running.

So I suggest to add a new command "status" for Thin so it return 0 if it's running, 1 otherwise.
Then in the init script the "start" action could just invoke "thin ... start" if "thin ... status" returned 1.

Also, "status" action is a requeriment of LSB init scripts and it's needed when using service controllers (as HeartBeat) which invokes "status" action periodically to know the status of the server and up it again if it was down. Monit can also checks the service status by invoking "status" action for the init script.

Comments and changes to this ticket

  • AibeFazs

    AibeFazs June 20th, 2020 @ 03:50 AM

    Tickets of the lighthouse are projected for the turns. The element of the fund and rushmyessay reviews is approved for the lighthouse for the taming elements. Part display for the funds in the mid-off the options or the good and luck for the definition for their forms for the individuals.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket