Skip to content

Implement a proper shutdown()/close() function #63

Description

@fomojola

When using the up API with process management tools like upstart on Ubuntu there is no clean way to stop the up server cleanly: it should provide a close() or shutdown() function that closes all network ports, shuts down all workers (and their associated processes) and exits completely. Right now I've had to jury-rig a process.exit(0) whenever upstart sends it a TERM signal, but it should tidy up behind itself.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions