From 0f0297ebee1eef16849cc60de047cf648baa2cc3 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 7 Jan 2018 10:42:30 +0100 Subject: [PATCH] :ambulance: Fixes 100% CPU load by disabling interactive mode Ref #2 --- aircast/rootfs/etc/services.d/aircast/run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aircast/rootfs/etc/services.d/aircast/run b/aircast/rootfs/etc/services.d/aircast/run index d2de592..88a5996 100644 --- a/aircast/rootfs/etc/services.d/aircast/run +++ b/aircast/rootfs/etc/services.d/aircast/run @@ -10,6 +10,9 @@ declare -a options hass.log.info 'Starting the AirCast server' +# Non-interactive +options+=(-Z) + # Bind to a specific interface if hass.config.has_value 'address'; then options+=(-b "$(hass.config.get 'address')")