#3084 Clean up daemon exit codes
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago by mikem.

This is a follow up to #3040

Since we're normally running through systemd and, after #3040, systemd will restart us on errors, we should be more systematic about our exit codes.

At present, the following situations will lead to kojid exiting with a zero status.

  • SIGTERM / KeyboardInterrupt / SystemExit
  • AuthExpired exception
  • shutdown task handler

I think AuthExpired case should be an error (and hence a restart condition at the systemd level). The others can probably remain as-is.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue status updated to: Open (was: Closed)

2 years ago

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.28

2 years ago

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

2 years ago

Metadata Update from @jobrauer:
- Issue tagged with: testing-done

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3119 Merged 2 years ago