znc shutdown command #313

Closed
opened 2026-10-05 04:12:37 +02:00 by adam · 2 comments
Owner

It doesn't look like there's a znc command for shutting down znc from the terminal.
Could that be added?

It doesn't look like there's a znc command for shutting down znc from the terminal. Could that be added? <!-- github-sync-id:30023763 -->
adam closed this issue 2026-10-05 04:12:37 +02:00
Author
Owner

If you just have a single znc instance running:

pkill znc

If you have multiple ones, find the pid of the right one and use kill.

(I wonder if it would make sense to try to handle shut down signals in the main loop instead of purely in the signal handler. Something similar to how we handle rehashes...)

If you just have a single znc instance running: ``` pkill znc ``` If you have multiple ones, find the pid of the right one and use `kill`. (I wonder if it would make sense to try to handle shut down signals in the main loop instead of purely in the signal handler. Something similar to how we handle rehashes...) <!-- github-comment-id:38431817 -->
Author
Owner

Something similar to how we handle rehashes

Which should die, by the way

> Something similar to how we handle rehashes Which should die, by the way <!-- github-comment-id:38494518 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#313