Graceful Shutdown


Is there a way to tell Channels DVR (running on Linux, if that makes a difference) to finish what it's working on and shut down? I'd like to be able to occasionally shut everything down, perform maintenance, rearrange furniture, fight the zombies, etc. without interrupting any recordings or processing jobs in progress.

Bonus points if there's a command line or other trigger I can use to accomplish this.


There is a graceful shutdown mechanism used internally for auto-updates, but it is not exposed in a way to use it manually. I can look into adding that towards the end of this month.

1 Like

I've added this to the next pre-release build as:

curl -XPUT http://x.x.x.x:8089/updater/halt

The command will not return until the graceful shutdown has triggered.

Awesome, thank you!

Also, just a general thanks to you and your team for being so responsive and engaged with the community. It's refreshing and appreciated. You all are doing a great job making us feel like valued subscribers.