Skip to content

Gracefully close scripts and server #16

Description

@stive101

I have your egg running and see, that the server gets terminatet with ^C& ^C

Thats not shutting down the server, its just quit it, is ther a way to gracefully stop the server ?

The issue for me is, im running a perl deamon, and tried everything to gracefully shutdown the deamon becouse otherwise it has problems in his function.

i put the start command in the nginx.sh

/path/to/deamon/deamon_run start

to stop the deamon gracfully, the server sould run

/path/to/deamon/deamon_run stop

when u run it manualy, ^C also works to set the deamon into his shutdown state ( what means he cleans up temp files and remove his pid file, what e does not when he gets killd trough the Ptero panel stop command)

but i had no idea how i can execut that with the ptero stop container button ;(

thanks if u could help me :=)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions